From abf194a96ed1601ee80c83b3ca7cc87bcfe666f1 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 16 Jun 2008 15:10:48 +0000 Subject: Make it more explicit that PKG_DESTDIR_SUPPORT and as side effect META_PACKAGE must be set before including bsd.prefs.mk. --- mk/bsd.prefs.mk | 5 ++++- mk/help/destdir.help | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'mk') 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) -- cgit v1.2.3