diff options
author | joerg <joerg@pkgsrc.org> | 2006-10-09 11:44:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-10-09 11:44:06 +0000 |
commit | 977a821a8f7eb4013b29e47f7fb3c63850d539d3 (patch) | |
tree | 81c92137461e47b6011bb2bbce71f9efb874c327 /mk/bsd.prefs.mk | |
parent | c0ec39a99b04626a7254147f7da70ee37804f2b6 (diff) | |
download | pkgsrc-977a821a8f7eb4013b29e47f7fb3c63850d539d3.tar.gz |
Add two variables to control whether make package and make clean
are run with elevated privileges. Remove MAKE_PACKAGE_AS_ROOT
for now, since it is not sure whether the functionality in the current
form will stay and developers should spend time on the destdir support
instead.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 6a90a65c8d9..52094248522 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.238 2006/10/06 14:51:36 joerg Exp $ +# $NetBSD: bsd.prefs.mk,v 1.239 2006/10/09 11:44:06 joerg Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -326,6 +326,11 @@ PKG_FAIL_REASON+= "missing mk/platform/${OPSYS}.mk" PKGDIRMODE?= 755 +_MAKE_CLEAN_AS_ROOT?= no +# Whether to run the clean target as root. +_MAKE_PACKAGE_AS_ROOT?= yes +# Whether to run the package target as root. + PKG_INSTALLATION_TYPES?= overwrite # This is a whitespace-separated list of installation types supported # by the package. |