summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorgrant <grant>2003-08-02 03:46:34 +0000
committergrant <grant>2003-08-02 03:46:34 +0000
commitd0592da02b23297a03b098612cd909fb50bf0ffa (patch)
tree8309a0b93b91256184a0d43cfadfc9b9fbd00897 /mk/bsd.pkg.mk
parent2248f32491a00b98f26c274facf7def8d46c0bf8 (diff)
downloadpkgsrc-d0592da02b23297a03b098612cd909fb50bf0ffa.tar.gz
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.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 005f7d7569a..a395e4397c5 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1227 2003/07/31 13:50:11 seb Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1228 2003/08/02 03:46:34 grant Exp $
#
# This file is in the public domain.
#
@@ -548,6 +548,9 @@ PLIST_SUBST+= PERL5_SITEARCH=${PERL5_SITEARCH:S/^${LOCALBASE}\///}
PLIST_SUBST+= PERL5_ARCHLIB=${PERL5_ARCHLIB:S/^${LOCALBASE}\///}
.endif
+# base vs. GNU tools
+.include "../../mk/tools.mk"
+
.if defined(USE_NEW_TEXINFO)
INFO_FILES?=
USE_MAKEINFO?= no # default to not using makeinfo