summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2016-04-10 15:08:39 +0000
committerjoerg <joerg>2016-04-10 15:08:39 +0000
commitd532f64aa24837921e866be5497ca83ac5e8c03a (patch)
tree511217999c60b1485cb5eff50aebd42d78ebc859
parentd2f74c1cf0772513bcb192afc95a4b40aac77486 (diff)
downloadpkgsrc-d532f64aa24837921e866be5497ca83ac5e8c03a.tar.gz
Drop support for PKG_DESTDIR_SUPPORT=none.
-rw-r--r--mk/bsd.prefs.mk13
1 files changed, 4 insertions, 9 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index e5a1666ca78..630ed98b266 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.382 2016/03/17 16:02:23 jperkin Exp $
+# $NetBSD: bsd.prefs.mk,v 1.383 2016/04/10 15:08:39 joerg Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -407,20 +407,15 @@ 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 can only be one of "destdir", or "user-destdir".
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])
-PKG_FAIL_REASON+= "USE_DESTDIR must be either \`\`yes'' or \`\`no''"
-. endif
-_USE_DESTDIR= no
-.elif ${PKG_DESTDIR_SUPPORT} == "user-destdir"
+.if ${PKG_DESTDIR_SUPPORT} == "user-destdir"
_USE_DESTDIR= user-destdir
.elif ${PKG_DESTDIR_SUPPORT} == "destdir"
_USE_DESTDIR= destdir
.else
-PKG_FAIL_REASON+= "PKG_DESTDIR_SUPPORT must be \`\`none'', \`\`destdir'', or \`\`user-destdir''."
+PKG_FAIL_REASON+= "PKG_DESTDIR_SUPPORT must be \`\`destdir'' or \`\`user-destdir''."
.endif
# This stanza serves to warn the user; deciding to not build