summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-10-09 11:59:08 +0000
committerjoerg <joerg@pkgsrc.org>2006-10-09 11:59:08 +0000
commita8e70089029ef60b4f74d3451dfa967cab20e71e (patch)
tree8269f16bb8219adc21f8a54b0affa344ebae175b /mk/bsd.prefs.mk
parent51fd0bdbade77b783bd73c2056c44129cf0e051d (diff)
downloadpkgsrc-a8e70089029ef60b4f74d3451dfa967cab20e71e.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.