bug in patching phase of cups-pstoraster

Thierry Herbelot thierry at herbelot.com
Tue Jun 28 12:35:48 GMT 2005

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 :

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



More information about the freebsd-ports mailing list