Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: grant beattie <grant@netbsd.org>
List: pkgsrc-changes
Date: 08/02/2003 03:46:36
Module Name:	pkgsrc
Committed By:	grant
Date:		Sat Aug  2 03:46:35 UTC 2003

Modified Files:
	pkgsrc/mk: bsd.pkg.mk
Added Files:
	pkgsrc/mk: tools.mk

Log Message:
handle platforms with broken tools in the base system, such as sed
and awk. as proposed on tech-pkg@, with some changes to set the
appropriate tool variables and handle OSs which provide GNU tools
in the base system (ie. do nothing).

this allows packages or users to force the use of pkgsrc GNU tools
when they are not present in the base system by defining e.g.
USE_GNU_TOOLS="awk sed".

Solaris' sed is marked as incompatible, as even the XPG4 sed is too
limited for a number of packages (especially large ones which use
libtool, as libtool calls blind 'sed'), so GNU sed is always used
on Solaris.


To generate a diff of this commit:
cvs rdiff -r1.1227 -r1.1228 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/tools.mk

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