From owner-freebsd-ports@FreeBSD.ORG Fri Jun 5 23:44:41 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B9F9106564A; Fri, 5 Jun 2009 23:44:41 +0000 (UTC) (envelope-from vmagerya@gmail.com) Received: from mail-fx0-f211.google.com (mail-fx0-f211.google.com [209.85.220.211]) by mx1.freebsd.org (Postfix) with ESMTP id 6025F8FC13; Fri, 5 Jun 2009 23:44:40 +0000 (UTC) (envelope-from vmagerya@gmail.com) Received: by fxm7 with SMTP id 7so1420042fxm.43 for ; Fri, 05 Jun 2009 16:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8GHDbtAF/wKIk17WnfjmmywPzykA84hBKta5Hn4soeI=; b=agVAbFxV2C8TA+diDfxdm6sDYv5/pArEu7PKIrQWOdbRSUnJogQkKb4n4DYoJ0mEAk bXc6nQviPHByfkBYNYkZw4OdvrWEH1voiKL+CdHBpUWLDwlwvSDOdTG3No+gSgTUSR7K vpczPPGcsydEV4mkYIOSNNQgr7eJ6Gjw0B10o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sHW6tPEj+sr6IY+qLBRHpXM6FdQefHKYXySSLg+lWsCo7Mcu1l5Mk8JZ1wM5o84akM P1ua6S27AyxcnrQNKD0UZhu9ubun5j+ri+rpazd6xrsPrPyqHesMVXnzknt+iMkc0hog 1LIVXWfCDmjP7aXUuf450hHMvdRQoJS1MXRRY= MIME-Version: 1.0 Received: by 10.204.65.1 with SMTP id g1mr3692292bki.57.1244245478711; Fri, 05 Jun 2009 16:44:38 -0700 (PDT) In-Reply-To: <20090606013524.7ccc4ede@it.buh.tecnik93.com> References: <4A28590D.101@gmail.com> <4A2946F4.2010501@gmail.com> <4A29683C.3030301@gmail.com> <4A2994DF.1060604@gmail.com> <4A299843.8030407@gmail.com> <20090606013524.7ccc4ede@it.buh.tecnik93.com> Date: Sat, 6 Jun 2009 02:44:37 +0300 Message-ID: From: Vitaly Magerya To: Ion-Mihai Tetcu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Eitan Adler , freebsd-ports@freebsd.org Subject: Re: Automatically generate symlinks for virtual categories. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 23:44:41 -0000 On 06/06/2009, Ion-Mihai Tetcu wrote: > Did you test what happens with all this idea when a port has a > .include "${CURDIR}......" > ? When running the script uses $(make -C), which in effect is $(cd && make ), so including current directory works fine when symlinks are generated. When actually installing the port from a symlink, the current directory is reported to be the original, not the symlink. So it should work. I've tried a few ports with .include ${CURDIR..}, there seems to be no problems.