summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2006-10-09 11:59:08 +0000
committerjoerg <joerg>2006-10-09 11:59:08 +0000
commit425c7ce9c7743b6870d601017456d062add968cb (patch)
tree8269f16bb8219adc21f8a54b0affa344ebae175b /mk/bsd.prefs.mk
parent01d43d7d2a9434117dc642a3ef5bc01b3a33c810 (diff)
downloadpkgsrc-425c7ce9c7743b6870d601017456d062add968cb.tar.gz
Add variable to control whether the install target is run as root.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 52094248522..39077cb81eb 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.239 2006/10/09 11:44:06 joerg Exp $
+# $NetBSD: bsd.prefs.mk,v 1.240 2006/10/09 11:59:08 joerg Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -328,6 +328,8 @@ PKGDIRMODE?= 755
_MAKE_CLEAN_AS_ROOT?= no
# Whether to run the clean target as root.
+_MAKE_INSTALL_AS_ROOT?= yes
+# Whether to run the install target as root.
_MAKE_PACKAGE_AS_ROOT?= yes
# Whether to run the package target as root.