diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 17:20:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 17:20:51 +0000 |
commit | b01a53917d807ba703307f7232ee384c77163b72 (patch) | |
tree | 407e640ea0deba0cb62fb6c144b09a6615203db6 /mk/bsd.prefs.mk | |
parent | 461b3cb5abae01e00ae7a1fb3b84251e30e6f364 (diff) | |
download | pkgsrc-b01a53917d807ba703307f7232ee384c77163b72.tar.gz |
Enable USE_DESTDIR by default for PKG_DEVELOPER.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 6 |
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]) |