Subject: ${LOCALBASE)/share/mk/sys.mk taking precedence over OS-specific defines?
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 05/08/2004 20:59:15
In ${LOCALBASE)/share/mk/sys.mk I find:
TSORT?=tsort -q

In pkgsrc/mk/defs.IRIX.mk (similarly for other OSes) I find
TSORT?=/usr/bin/tsort

I looks like (e.g. using bmake show-vars VARNAMES=TSORT) the first
definition is being used, not the OS-specific one. Isn't this a bug?

Another remark:

pkgsrc/bootstrap/bmake/mk/sys.mk has:

unix?=          We run NetBSD

This is not necessarily true. I don't know what ${unix} is for, but
wouldn't We run `uname -s` or something like that be more appropriate.
 

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442