Subject: Re: How about importing newer bmake?
To: None <pkgsrc-users@NetBSD.org>
From: None <joerg@britannica.bec.de>
List: pkgsrc-users
Date: 05/30/2006 17:12:06
On Tue, May 30, 2006 at 11:50:14PM +0900, OBATA Akio wrote:
> > bmake test in bootstrap/work/DragonFly works here very well and it
> > didn't attempt to read /usr/share/mk/sys.mk.
> 
> Really?
> Even if add something like `CC=false' to /usr/share/mk/sys.mk,
> or /usr/share/mk/bsd.obj.mk, bmake test works well on DragonFly?

Yes, I can add .error broken to /usr/share/mk/sys.mk and it just works.
Note that the bootstrap itself calls make, so it is natural that it
wouldn't work with that completely.

Just to trace down where this comes from, can you ktrace the bootstrap
and find out when /usr/share/mk/sys.mk is accessed? It should only
happen by /usr/bin/make, not bmake. Also check that the _PATH_DEFSYSPATH
definition in the Makefile is really available.

Joerg