Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/16/2005 22:33:18
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sat Jul 16 22:33:18 UTC 2005

Modified Files:
	pkgsrc/mk: bsd.prefs.mk
	pkgsrc/mk/tools: replace.mk

Log Message:
There is still one small but important distinction between some of the
tools listed in USE_TOOLS -- some of them are required by the pkgsrc
infrastructure in variable assignment statements that look like:

    VARIABLE!=	${AWK} ...

These tools are actually *required* by pkgsrc to be installed on the
system before it can even work (bootstrap situation).  For these tools,
only override the "TOOL" name representing the tool if we're really
using the pkgsrc version of the tool.

We accomplish this by adding a new :pkgsrc modifier that is appended
to these tools listed in USE_TOOLS.  We also list these tools in
bsd.prefs.mk so that all packages pick them up fairly early on.


To generate a diff of this commit:
cvs rdiff -r1.196 -r1.197 pkgsrc/mk/bsd.prefs.mk
cvs rdiff -r1.111 -r1.112 pkgsrc/mk/tools/replace.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.