On Tue, May 16, 2017 at 02:18:36PM +0200, O. Hartmann wrote:
> On Tue, 16 May 2017 09:39:11 +0100
> Roger Pau Monné <roger....@citrix.com> wrote:
> > Hello,
> > 
> > I'm trying to build world as a regular user, using sources fetched into my
> > home directory and a different object directory. The rune I'm using to build
> > is:
> > 
> > $ cd /home/royger/buildjob/freebsd
> > $ make -j30 buildworld MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/
> As far as I know, in this construct, MAKEOBJDIRPREFIX is an argument to make,
> but MAKEOBJDIRPREFIX is strictly required to be set in the environment!
> Have you tried the following setting:
> env MAKEOBJDIRPREFIX=/home/royger/buildjob/obj/ make -j30 buildworld
> I do this kind of task as root this way (as it doesn't work as you showed,
> either).


Yes, that's right, MAKEOBJDIRPREFIX is strictly required to be set in the
environment, setting it fixes the issue. It always confuses me how some of
those (like DESTDIR) can be passed as an arguments while others don't.

Thanks, Roger.
freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to