diff options
author | minskim <minskim@pkgsrc.org> | 2004-10-23 08:10:40 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-10-23 08:10:40 +0000 |
commit | e61ca19e0a6b524e2780b514665f949f6ab244bd (patch) | |
tree | 70a1140bbd019e4e31760abffa4f7477969c9282 /shells | |
parent | 2c655ab0e2ba70834f1697eaf54ad3ee88dedb1b (diff) | |
download | pkgsrc-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')
-rw-r--r-- | shells/bash2/Makefile | 18 |
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" ## |