Subject: Re: MAKEOBJDIR not honored?
To: Luke Mewburn <lukem@netbsd.org>
From: Daniel Carosone <dan@geek.com.au>
List: current-users
Date: 07/05/2003 20:06:41
On Tue, Jul 01, 2003 at 12:41:27PM +1000, Luke Mewburn wrote:
> On Mon, Jun 30, 2003 at 12:10:05PM -0700, Greywolf wrote:
>   | The fact that it does not honour mk.conf for this, considering it DOES
>   | honour it for other things, just seems broken to me.  Am I the only one?
> 
> It is documented in BUILDING(8) that you cannot set MAKEOBJDIR or
> MAKEOBJDIRPREFIX in /etc/mk.conf (well, you can, but they won't be honoured).
> 
> That is an issue with make(1), not with build.sh.

However, the same effect can be achieved with something like this,
which is from my /etc/mk.conf

BSDSRCDIR=/home/NetBSD/HEAD/src
BSDOBJDIR=/home/NetBSD/obj
OBJMACHINE=OBJMACHINE

(I say the same effect because you explicitly cased out pkgsrc :)

--
Dan.