Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 04/30/2005 04:35:54
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sat Apr 30 04:35:54 UTC 2005

Modified Files:
	pkgsrc/mk: bsd.pkg.mk bsd.prefs.mk
	pkgsrc/mk/tools: replace.mk
Added Files:
	pkgsrc/mk/tools: defaults.mk

Log Message:
Split replace.mk into two parts, one of which is included by bsd.prefs.mk
to provide "TOOL" definitions for tools used by a top-level make process
(usually because it uses them in a != variable definition).  This allows
USE_TOOLS to be defined before bsd.prefs.mk is included by a package
Makefile, where USE_TOOLS lists the additional (non-default) tools that
are required to build the package.

Also, drop the fallback to existing "TOOL" definitions because we now
have TOOLS_PLATFORM.* for each platform in pkgsr/mk/tools/tools.*.mk.


To generate a diff of this commit:
cvs rdiff -r1.1617 -r1.1618 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.184 -r1.185 pkgsrc/mk/bsd.prefs.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/tools/defaults.mk
cvs rdiff -r1.53 -r1.54 pkgsrc/mk/tools/replace.mk

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