WRKDIRPREFIX='' on command line stops to work?

Christopher Hall christopherhall.hsw at gmail.com
Fri Oct 20 02:20:34 UTC 2017


Hello Lev,

On Thu, 19 Oct 2017 18:05:47 +0300, Lev Serebryakov <lev at FreeBSD.org>
wrote:

>  I have WRKDIRPREFIX=/usr/local/build/ports set in my /etc/make.conf
> because my /usr/ports is not on FS which I want to torture with
> builds. It worked for many years and works now.
> 
>  When I need to build port in ports tree in my home directory (for
> example, when I test port update) I use
> 
> % make DISTDIR=/usr/home/lev/distfiles WRKDIRPREFIX=''
> 
>  And it worked until recently. Now I get:
> 
> % make DISTDIR=/usr/home/lev/distfiles WRKDIRPREFIX=''
> make[1]: don't know how to make
> /usr/home/lev/FreeBSD/ports/sysutils/nut/work/.stage_done.nut._usr_local.
> Stop
> 
> make[1]: stopped in /usr/home/lev/FreeBSD/ports/sysutils/nut
> *** Error code 2
> 
> Stop.
> make: stopped in /usr/home/lev/FreeBSD/ports/sysutils/nut
> %
> 
>   What happens and what should I do?
> 
> -- 
> // Lev Serebryakov
> 
I always use the WRKDIRPREFIX even for home directory builds by
creating a directory ${WRKDIRPREFIX}${HOME} and chown it to my user.
maybe try this as a work around

-- 
Best Regards.
Christopher Hall.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20171020/ad3c9452/attachment.sig>


More information about the freebsd-ports mailing list