pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Fix previous:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/999a566d485c
branches:  trunk
changeset: 559139:999a566d485c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue May 19 09:33:53 2009 +0000

description:
Fix previous:
Actually check what you want to check -- both for "yes" and "no", not
only for "no".

diffstat:

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

diffs (18 lines):

diff -r ba2d607e9f1d -r 999a566d485c mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Tue May 19 09:28:51 2009 +0000
+++ b/mk/bsd.prefs.mk   Tue May 19 09:33:53 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.292 2009/05/17 23:44:53 joerg Exp $
+# $NetBSD: bsd.prefs.mk,v 1.293 2009/05/19 09:33:53 wiz Exp $
 #
 # This file includes the mk.conf file, which contains the user settings.
 #
@@ -387,7 +387,7 @@
 .endif
 
 .if empty(PKG_DESTDIR_SUPPORT) || empty(USE_DESTDIR:M[Yy][Ee][Ss])
-.  if empty(USE_DESTDIR:M[Nn][Oo])
+.  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



Home | Main Index | Thread Index | Old Index