On 13 September 2011 17:25, h h <aakuu...@gmail.com> wrote:
> (redirect from -current@ to -ports@)
>
> Erwin Lansing <er...@freebsd.org> writes:
>
>> On Tue, Sep 13, 2011 at 09:45:05AM +0000, Thomas Mueller wrote:
>>>
>>>
>>> PORTSDIR=/BETA1/usr/ports
>>> PACKAGES=/usr/packages
>>> WRKDIR=workb2
>>> # added by use.perl 2011-09-13 02:49:43
>>> PERL_VERSION=5.14.1
>>>
>>> Maybe WRKDIR should have been ${MASTERDIR}/workb2 , or should it be 
>>> ${.CURDIR}/workb2 ?
>>
>> The latter.  Default for WRKDIR is ${WRKDIRPREFIX}${.CURDIR}/work, so
>> you'll need to include ${.CURDIR} as well.
>
> If it's supported why WRKDIR assignments are not cleaned up?
>
>  databases/jasperserver/Makefile:WRKDIR=               
> ${WRKDIRPREFIX}${.CURDIR}/work
>  misc/py-xdelta3/Makefile:WRKDIR=              
> ${WRKDIRPREFIX}${MASTERDIR}/work
>  net/py-miniupnpc/Makefile:WRKDIR=             
> ${WRKDIRPREFIX}${MASTERDIR}/work
>
> In fact, Porter's Handbook encourages its redefining unlike WRKDIRPREFIX
>
>  http://www.freebsd.org/doc/en/books/porters-handbook/porting-wrkdir.html
>  http://www.freebsd.org/doc/en/books/porters-handbook/porting-wrkdirprefix.html
>
> Are you talking about new policy?

Hm, a bit naughty. Perhaps something like:

WRKDIR= ${WRKDIR:S/${.CURDIR}/${MASTERDIR}/}

would be more appropriate?

Jasperserver seems to do some pretty terrifying things though...
Jason, could you explain why you're redefining WRKDIR to the default please??

Chris
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to