summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2003-08-02 04:49:14 +0000
committergrant <grant>2003-08-02 04:49:14 +0000
commit262c4560330d052d5aa8981aea9132c6fe9708cd (patch)
tree4835e0e2e16b0eb50f0a0737d6b303dd4ba43f8f /mk
parentedd9d2672490c37724eefe359a42b198a9505232 (diff)
downloadpkgsrc-262c4560330d052d5aa8981aea9132c6fe9708cd.tar.gz
comment: clarify and describe why USE_GNU_TOOLS+= must be used.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/mk/tools.mk b/mk/tools.mk
index a872a774106..9933e5c583f 100644
--- a/mk/tools.mk
+++ b/mk/tools.mk
@@ -1,16 +1,22 @@
-# $NetBSD: tools.mk,v 1.1 2003/08/02 03:46:34 grant Exp $
+# $NetBSD: tools.mk,v 1.2 2003/08/02 04:49:14 grant Exp $
#
# handle platforms with broken tools in the base system, such as sed
# and awk.
#
# symlink the suitable versions of tools into .buildlink/bin (if they
-# exist in the base system) and allow 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". version numbers are not
+# exist in the base system) and allow packages 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". version numbers are not
# considered.
#
# this functionality is buildlink2 only.
#
+# packages should always use eg.
+#
+# USE_GNU_TOOLS+= grep
+#
+# to be sure not to override the setting passed by the user.
+#
.if !defined(TOOLS_MK)
TOOLS_MK= # defined