diff options
author | dillo <dillo@pkgsrc.org> | 2005-05-31 10:01:36 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2005-05-31 10:01:36 +0000 |
commit | f81ae835adc78533f22ce227d12d3f56e6076f1a (patch) | |
tree | 54f5cc64fe8b06d4695748b3d5b9967e8c030117 /shells/bash | |
parent | 79084c0d28dd7c904bebb1b7d09f66fa505cfc47 (diff) | |
download | pkgsrc-f81ae835adc78533f22ce227d12d3f56e6076f1a.tar.gz |
Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable. Set PKG_SUGGESTED_OPTIONS instead. Also,
make use of PKG_OPTIONS_LEGACY_VARS.
Reviewed by wiz.
Diffstat (limited to 'shells/bash')
-rw-r--r-- | shells/bash/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile index c03e5e1c191..b8d84da2c2a 100644 --- a/shells/bash/Makefile +++ b/shells/bash/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2005/04/11 21:47:21 tv Exp $ +# $NetBSD: Makefile,v 1.8 2005/05/31 10:01:39 dillo Exp $ # DISTNAME= bash-3.0 @@ -50,15 +50,11 @@ CONFIGURE_ARGS+= --enable-array-variables .include "../../mk/bsd.prefs.mk" -.if defined(BASH_STATIC) && !empty(BASH_STATIC:M[yY][eE][sS]) -PKG_DEFAULT_OPTIONS+= static -.endif - PKG_OPTIONS_VAR= PKG_OPTIONS.bash PKG_SUPPORTED_OPTIONS= multibyte static -.if !defined(PKG_OPTIONS.bash) -PKG_DEFAULT_OPTIONS+= multibyte -.endif +PKG_SUGGESTED_OPTIONS= multibyte +PKG_OPTIONS_LEGACY_VARS+= BASH_STATIC:static + .include "../../mk/bsd.options.mk" ## |