Hello Lev, On Thu, 19 Oct 2017 18:05:47 +0300, Lev Serebryakov <[email protected]> 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.
pgpbczxAeZXT8.pgp
Description: OpenPGP digital signature
