Screwy behavior in ports framework

Erwin Lansing erwin at FreeBSD.org
Tue Sep 13 11:33:23 UTC 2011


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.

Erwin

-- 
Erwin Lansing                                   http://droso.org
Prediction is very difficult
especially about the future                    erwin at FreeBSD.org


More information about the freebsd-current mailing list