summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-16 15:10:48 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-16 15:10:48 +0000
commitd092c3def3dc55a00361bbba611f3f8395f44d1d (patch)
tree15f64e5efdd83636d7cd677548febe44be1f4ca9 /mk
parent1ed7edd51f0aba79d50ece02ac83f7d3e5a0152a (diff)
downloadpkgsrc-d092c3def3dc55a00361bbba611f3f8395f44d1d.tar.gz
Make it more explicit that PKG_DESTDIR_SUPPORT and as side effect
META_PACKAGE must be set before including bsd.prefs.mk.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk5
-rw-r--r--mk/help/destdir.help5
2 files changed, 8 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index dfe22f0ad58..99ce3478b3a 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.284 2008/06/12 01:09:02 joerg Exp $
+# $NetBSD: bsd.prefs.mk,v 1.285 2008/06/16 15:10:48 joerg Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -358,6 +358,9 @@ PKGDIRMODE?= 755
# only purpose is to depend on other packages, giving that collection
# a simple name.
#
+# This variable must be set before including bsd.prefs.mk directly or
+# indirectly.
+#
# Keywords: meta meta-package META_PACKAGE
#
.if defined(META_PACKAGE)
diff --git a/mk/help/destdir.help b/mk/help/destdir.help
index e94ef754ae6..dc30671d089 100644
--- a/mk/help/destdir.help
+++ b/mk/help/destdir.help
@@ -1,4 +1,4 @@
-# $NetBSD: destdir.help,v 1.1 2008/01/19 22:41:47 rillig Exp $
+# $NetBSD: destdir.help,v 1.2 2008/06/16 15:10:48 joerg Exp $
#
# ===
# Warning: This file is still under construction. Don't rely on it.
@@ -37,6 +37,9 @@
# ownership or permissions. The installation is done by the
# privileged user.
#
+# This variable must be set before including bsd.prefs.mk directly or
+# indirectly.
+#
# === Implementation notes ===
#
# In the "install" phase, the variable DESTDIR is set in the make(1)