summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 17:20:51 +0000
committerjoerg <joerg>2010-01-29 17:20:51 +0000
commite070082cfb5eaa96a908550fee548c27046cea6c (patch)
tree407e640ea0deba0cb62fb6c144b09a6615203db6 /mk
parentdca99bfd944225c2ee290beb42cbb327eefeb21a (diff)
downloadpkgsrc-e070082cfb5eaa96a908550fee548c27046cea6c.tar.gz
Enable USE_DESTDIR by default for PKG_DEVELOPER.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 71118ff6058..01195c1de1d 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.305 2010/01/29 17:20:27 joerg Exp $
+# $NetBSD: bsd.prefs.mk,v 1.306 2010/01/29 17:20:51 joerg Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -405,7 +405,11 @@ do-install:
.endif
# PKG_DESTDIR_SUPPORT can only be one of "destdir" or "user-destdir".
+.if defined(PKG_DEVELOPER)
+USE_DESTDIR?= yes
+.else
USE_DESTDIR?= no
+.endif
PKG_DESTDIR_SUPPORT?= # empty
.if empty(PKG_DESTDIR_SUPPORT) || empty(USE_DESTDIR:M[Yy][Ee][Ss])