From owner-freebsd-ports@FreeBSD.ORG Tue Jun 28 12:56:29 2005 Return-Path: X-Original-To: freebsd-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 70CEF16A41C for ; Tue, 28 Jun 2005 12:56:29 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C9E5743D4C for ; Tue, 28 Jun 2005 12:56:28 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 28 Jun 2005 12:56:27 -0000 Received: from unknown (EHLO zi025.glhnet.mhn.de) [129.187.19.157] by mail.gmx.net (mp034) with SMTP; 28 Jun 2005 14:56:27 +0200 X-Authenticated: #147403 Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 0C64CC230; Tue, 28 Jun 2005 14:58:03 +0200 (CEST) Date: Tue, 28 Jun 2005 14:58:03 +0200 From: Simon Barner To: Thierry Herbelot Message-ID: <20050628125803.GA1001@zi025.glhnet.mhn.de> References: <200506281236.08334.thierry@herbelot.com> <200506281337.07507.josemi@redesjm.local> <200506281435.33658.thierry@herbelot.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <200506281435.33658.thierry@herbelot.com> User-Agent: Mutt/1.5.9i X-Y-GMX-Trusted: 0 Cc: Jose M Rodriguez , freebsd-ports@freebsd.org Subject: 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 12:56:29 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Please don't Cc: both ports@FreeBSD.org and freebsd-ports@FreeBSD.org in order to avoid duplicates] Thierry Herbelot wrote: > Le Tuesday 28 June 2005 13:37, Jose M Rodriguez a =E9crit : > > El Martes, 28 de Junio de 2005 12:36, Thierry Herbelot escribi=F3: > > > Hello, > > > > > > I have here a R/O shared ports tree, under the /files2 mount point. A > > > symbolic link points from /usr/ports to /files2/ports > > > > This is not enough. You must define PORTSDIR. >=20 > This is indeed a work-around, but this is the first port where I saw this= kind=20 > of problem (and I have some *hundreds* of ports which build correctly wit= hout=20 > setting PORTSDIR). IMO this isn't a workaround, but the correct solution. AFAIK ${PORTSDIR} is supposed to point to the realpath of your port collection's root directory. Is there something bad about setting PORTDIR correctly? >=20 > This is an explanation : >=20 > in ports/Mk/bsd.port.mk, WRKDIR is correctly set with : > WRKDIR?=3D ${WRKDIRPREFIX}${.CURDIR}/work >=20 > but in ports/print/cups-pstoraster/Makefile, the new WRKSRC is hardwired = to : > ${WRKDIRPREFIX}${PORTSDIR}/${GHOSTSCRIPT_PORT}/work/ghostscript Which is because cups-pstoraster needs the ghostscript sources to build... You might try whether ${WRKDIRPREFIX}${.CURDIR}/../../${GHOSTSCRIPT_PORT}/work/ghostscript works without setting PORTSDIR (although I consider that a bit ugly). >=20 > which is wrong as PORTSDIR points (correctly) to /usr/ports when ${.CURDI= R} =20 > is /files2/ports >=20 > for the time being, I will set PORTSDIR. Regards, Simon --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCwUlbCkn+/eutqCoRAoP1AKDnqvPlRpGY1uapTWBAlHzBXD7bjwCaAqi1 8YH6tNcUD5vMeZT5yf2JiQE= =Q1oS -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--