diff options
author | wiz <wiz> | 2009-05-19 09:33:53 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-05-19 09:33:53 +0000 |
commit | b9b18e0bd14d0a599daf9173629dca07fe7332f2 (patch) | |
tree | 4dcdfa917bb2a9665c2b7ea74cfdc103ff5a1b3c /mk | |
parent | 5912fe30cd4f28cc809d2296516bfdf687bbbdd6 (diff) | |
download | pkgsrc-b9b18e0bd14d0a599daf9173629dca07fe7332f2.tar.gz |
Fix previous:
Actually check what you want to check -- both for "yes" and "no", not
only for "no".
Diffstat (limited to 'mk')
-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 |