pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Enable USE_DESTDIR by default for PKG_DEVELOPER.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ad1e5bad7d2
branches:  trunk
changeset: 570428:2ad1e5bad7d2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jan 29 17:20:51 2010 +0000

description:
Enable USE_DESTDIR by default for PKG_DEVELOPER.

diffstat:

 mk/bsd.prefs.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 915e0f367254 -r 2ad1e5bad7d2 mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Fri Jan 29 17:20:27 2010 +0000
+++ b/mk/bsd.prefs.mk   Fri Jan 29 17:20:51 2010 +0000
@@ -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 @@
 .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])



Home | Main Index | Thread Index | Old Index