From owner-freebsd-ports@FreeBSD.ORG Tue Jun 28 18:47:38 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 373AF16A41C for ; Tue, 28 Jun 2005 18:47:38 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from 62-14-156-60.inversas.jazztel.es (62-14-156-60.inversas.jazztel.es [62.14.156.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8934743D1F for ; Tue, 28 Jun 2005 18:47:37 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) by 62-14-156-60.inversas.jazztel.es (8.13.3/8.13.3) with ESMTP id j5SIlXgT076764; Tue, 28 Jun 2005 20:47:33 +0200 (CEST) (envelope-from josemi@redesjm.local) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.3/8.13.3/Submit) id j5SIlXPt001206; Tue, 28 Jun 2005 20:47:33 +0200 (CEST) (envelope-from josemi@redesjm.local) From: Jose M Rodriguez To: thierry@herbelot.com Date: Tue, 28 Jun 2005 20:47:32 +0200 User-Agent: KMail/1.8.1 References: <200506281236.08334.thierry@herbelot.com> <200506281949.20089.josemi@redesjm.local> <200506282021.24734.thierry@herbelot.com> In-Reply-To: <200506282021.24734.thierry@herbelot.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200506282047.33398.josemi@redesjm.local> X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.30.0.15; VDF: 6.30.0.207; host: antares.redesjm.local) Cc: ports@freebsd.org, Jose M Rodriguez Subject: Re: Symbolic link to the ports tree [was Re: bug in patching phase of cups-pstoraster] 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: Tue, 28 Jun 2005 18:47:38 -0000 El Martes, 28 de Junio de 2005 20:21, Thierry Herbelot escribi=F3: > Le Tuesday 28 June 2005 19:49, Jose M Rodriguez a =E9crit : > > No, that's how this works. I can also point to several ports that > > uses this kind of construct that will break without PORTSDIR. > > > > This is pointed by ports(7) and the notes on > > ${PORTSDIR}/Mk/bsd.port.mk. > > I won't argue : I had an issue, and you gave me a solution. > I just said my setup was not in contradiction with the instructions > in the ports man page (as the default PORTSDIR was correctly pointing > to a full ports tree), and the build was still failing > > > I can make the construct based on CURDIR, but this is the most > > often see form of doing depends. > > No : your makefile is easier to read with PORTSDIR > > I have proposed an addition to the man page to avoid this problem in > the future (still not completely satisfying as some other people may > fall in the same trap as me) > I'm not sure about that. The correct path is define PORTSDIR if you don't use the default=20 (/usr/ports). But you don't have any need to define a symlink=20 from /usr/ports. You've allready done this with WRKDIRPREFIX and may be done with=20 DISTDIR, PACKAGES and other env. In fact, I remember this kind of problems with OpenBSD/NetBSD src when=20 use symlinks instead of env defs (BSDSRCDIR, I think). =2D- josemi