Make "user-destdir" the default PKG_DESTDIR_SUPPORT value

since this is the general case these days and other cases are exceptions.
This simplifies development and prevents making some mistakes.
This commit is contained in:
asau 2012-08-14 17:16:07 +00:00
parent 010650399c
commit 3885548f91

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.prefs.mk,v 1.326 2012/08/14 15:27:07 asau Exp $
# $NetBSD: bsd.prefs.mk,v 1.327 2012/08/14 17:16:07 asau Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@ -433,7 +433,7 @@ do-install:
# After 2011Q1, the default is to use DESTDIR.
USE_DESTDIR?= yes
# PKG_DESTDIR_SUPPORT can only be one of "none", "destdir", or "user-destdir".
PKG_DESTDIR_SUPPORT?= none
PKG_DESTDIR_SUPPORT?= user-destdir
.if ${PKG_DESTDIR_SUPPORT} == "none" || empty(USE_DESTDIR:M[Yy][Ee][Ss])
. if empty(USE_DESTDIR:M[Yy][Ee][Ss]) && empty(USE_DESTDIR:M[Nn][Oo])