Ports defying WRKDIRPREFIX

[LoN]Kamikaze LoN_Kamikaze at gmx.de
Mon Aug 7 10:05:41 UTC 2006


Thierry Thomas wrote:
> 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.

I wonder why this is not documented in chapter 8.1 of the Porter's Handbook.


More information about the freebsd-ports mailing list