pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How about importing newer bmake?



On Tue, 30 May 2006 17:12:06 +0200, joerg%britannica.bec.de@localhost wrote:
> 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.

What are you talking about?
Bootstrap works completely or not?
If you just type `bmake test', it will work fine.

> 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.

No, Once more.
In makefile.boot, set MAKESYSPATH environment, so bmake find not from 
_PATH_DEFSYSPATH but from MAKESYSPATH.

--
"Of course I love NetBSD":-)
OBATA Akio / obata%lins.jp@localhost




Home | Main Index | Thread Index | Old Index