summaryrefslogtreecommitdiff
path: root/shells/bash2
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-10-23 08:10:40 +0000
committerminskim <minskim@pkgsrc.org>2004-10-23 08:10:40 +0000
commite61ca19e0a6b524e2780b514665f949f6ab244bd (patch)
tree70a1140bbd019e4e31760abffa4f7477969c9282 /shells/bash2
parent2c655ab0e2ba70834f1697eaf54ad3ee88dedb1b (diff)
downloadpkgsrc-e61ca19e0a6b524e2780b514665f949f6ab244bd.tar.gz
Append options to PKG_DEFAULT_OPTIONS instead of ${PKG_OPTIONS_VER},
following the semantic change of PKG_DEFAULT_OPTIONS.
Diffstat (limited to 'shells/bash2')
-rw-r--r--shells/bash2/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index 2a49cd38c4e..f173e88ba3b 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2004/10/22 23:54:22 minskim Exp $
+# $NetBSD: Makefile,v 1.59 2004/10/23 08:10:40 minskim Exp $
#
DISTNAME= bash-2.05b
@@ -31,21 +31,15 @@ PKG_SHELL= ${PREFIX}/bin/bash
.include "../../mk/bsd.prefs.mk"
# Global and legacy options
-.if defined(BASH_STATIC)
-. if !defined(PKG_OPTIONS.bash)
-. if defined(BASH_STATIC) && !empty(BASH_STATIC:M[yY][eE][sS])
-PKG_OPTIONS.bash+= static
-. endif
-# Always enable multibyte support, because before converted to use
-# bsd.options.mk, this package did not allow to turn off the multibyte
-# support.
-PKG_OPTIONS.bash+= multibyte
-. endif
+.if defined(BASH_STATIC) && !empty(BASH_STATIC:M[yY][eE][sS])
+PKG_DEFAULT_OPTIONS+= static
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.bash
-PKG_OPTIONS.bash?= multibyte
PKG_SUPPORTED_OPTIONS= multibyte static
+.if !defined(PKG_OPTIONS.bash)
+PKG_DEFAULT_OPTIONS+= multibyte
+.endif
.include "../../mk/bsd.options.mk"
##