Ports defying WRKDIRPREFIX

Thierry Thomas thierry at FreeBSD.org
Mon Aug 7 10:02:55 UTC 2006


Le Lun  7 aoû 06 à 11:55:59 +0200, [LoN]Kamikaze <LoN_Kamikaze at gmx.de>
 écrivait :
> It has come to my attention that the line
> 
> 	${CAT} pkg-message
> 
> breaks when WRKDIRPREFIX is set, because the shell command will be invoked
> from WRKDIRPREFIX/PORTSDIR/category/port instead of PORTSDIR/category/port
> 
> I think this is a new problem in bsd.port.mk, but I am not certain about
> this. A quick solution is to replace the line with
> 
> 	${CAT} ${.CURDIR}/pkg-message

@${CAT} ${PKGMESSAGE}
should be sufficient.
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060807/f23e8e77/attachment.pgp


More information about the freebsd-ports mailing list