Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Aug 2006 12:05:28 +0200
From:      "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: Ports defying WRKDIRPREFIX
Message-ID:  <44D71068.1000102@gmx.de>
In-Reply-To: <20060807100144.GG38697@graf.pompo.net>
References:  <44D70E2F.8060008@gmx.de> <20060807100144.GG38697@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thierry Thomas wrote:
> Le Lun  7 aoû 06 à 11:55:59 +0200, [LoN]Kamikaze <LoN_Kamikaze@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D71068.1000102>