From bb4f9c05f4c2393c8682b817d686794ba234f905 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 7 Jan 2007 00:57:36 +0000 Subject: The tool definitions must come before including bsd.prefs.mk. Pointed out by wiz. --- Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cf5247c710d..f9a7682d2e3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.79 2007/01/06 17:10:42 rillig Exp $ +# $NetBSD: Makefile,v 1.80 2007/01/07 00:57:36 rillig Exp $ # # This is the top-level Makefile of pkgsrc. It contains a list of the # categories of packages, as well as some targets that operate on the @@ -23,6 +23,20 @@ # mk/misc/toplevel.mk # +# Note: The tools definitions must come before bsd.prefs.mk is included. + +# tools used by this Makefile +USE_TOOLS+= [ awk cat cmp echo env expr false fgrep grep mv rm sed \ + sort wc + +# additional tools used by bsd.pkg.subdir.mk +USE_TOOLS+= basename touch + +# additional tools used by bsd.bulk-pkg.mk +USE_TOOLS+= egrep find ls sh tee true tsort + +PKGSRCTOP= yes + .include "mk/bsd.prefs.mk" .if defined(SPECIFIC_PKGS) -- cgit v1.2.3