From owner-freebsd-ports@FreeBSD.ORG Tue Jun 28 12:35:48 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 29B7116A41C; Tue, 28 Jun 2005 12:35:48 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from postfix3-1.free.fr (postfix3-1.free.fr [213.228.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFFF643D4C; Tue, 28 Jun 2005 12:35:47 +0000 (GMT) (envelope-from thierry@herbelot.com) Received: from herbelot.dyndns.org (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by postfix3-1.free.fr (Postfix) with ESMTP id 20AFE1734C6; Tue, 28 Jun 2005 14:35:46 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by herbelot.dyndns.org (8.13.3/8.13.3) with ESMTP id j5SCZZoG032149; Tue, 28 Jun 2005 14:35:38 +0200 (CEST) From: Thierry Herbelot To: Jose M Rodriguez Date: Tue, 28 Jun 2005 14:35:31 +0200 User-Agent: KMail/1.8.1 References: <200506281236.08334.thierry@herbelot.com> <200506281337.07507.josemi@redesjm.local> In-Reply-To: <200506281337.07507.josemi@redesjm.local> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200506281435.33658.thierry@herbelot.com> Cc: ports@freebsd.org, 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 Reply-To: thierry@herbelot.com 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:35:48 -0000 Le Tuesday 28 June 2005 13:37, Jose M Rodriguez a écrit : > El Martes, 28 de Junio de 2005 12:36, Thierry Herbelot escribió: > > 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. This is indeed a work-around, but this is the first port where I saw this kind of problem (and I have some *hundreds* of ports which build correctly without setting PORTSDIR). This is an explanation : in ports/Mk/bsd.port.mk, WRKDIR is correctly set with : WRKDIR?= ${WRKDIRPREFIX}${.CURDIR}/work but in ports/print/cups-pstoraster/Makefile, the new WRKSRC is hardwired to : ${WRKDIRPREFIX}${PORTSDIR}/${GHOSTSCRIPT_PORT}/work/ghostscript which is wrong as PORTSDIR points (correctly) to /usr/ports when ${.CURDIR} is /files2/ports for the time being, I will set PORTSDIR. *thanks* for the quick answer cheers TfH