diff options
author | wiz <wiz@pkgsrc.org> | 2009-05-19 09:33:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-05-19 09:33:53 +0000 |
commit | 5721e5be04fd22966398158ef730cab1b3d5e049 (patch) | |
tree | 4dcdfa917bb2a9665c2b7ea74cfdc103ff5a1b3c | |
parent | d547cb644d863e42e6c245b09eabca118bc20e68 (diff) | |
download | pkgsrc-5721e5be04fd22966398158ef730cab1b3d5e049.tar.gz |
Fix previous:
Actually check what you want to check -- both for "yes" and "no", not
only for "no".
-rw-r--r-- | mk/bsd.prefs.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index d7467fc6145..ba4194057dc 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -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 @@ USE_DESTDIR:= yes .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 |