diff options
author | triaxx <triaxx@pkgsrc.org> | 2019-10-24 11:53:13 +0000 |
---|---|---|
committer | triaxx <triaxx@pkgsrc.org> | 2019-10-24 11:53:13 +0000 |
commit | 94cd51547d562b232c4e5ec5f4c51044dab7093f (patch) | |
tree | f71136e96f2c73788ce9a37439e331187a76b359 /shells | |
parent | 40c5f5c1d674188910b55935fa06a264dcae2b20 (diff) | |
download | pkgsrc-94cd51547d562b232c4e5ec5f4c51044dab7093f.tar.gz |
bash: add missing options.mk
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash/options.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/shells/bash/options.mk b/shells/bash/options.mk new file mode 100644 index 00000000000..bd98b7accf9 --- /dev/null +++ b/shells/bash/options.mk @@ -0,0 +1,21 @@ +# $NetBSD: options.mk,v 1.1 2019/10/24 11:53:13 triaxx Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.bash +PKG_SUPPORTED_OPTIONS= nls + +PLIST_VARS+= nls + +.include "../../mk/bsd.options.mk" + +### +### NLS support +### +.if !empty(PKG_OPTIONS:Mnls) +USE_PKGLOCALEDIR= yes +USE_TOOLS+= msgfmt msgmerge xgettext +CONFIGURE_ARGS+= --enable-nls +. include "../../devel/gettext-lib/buildlink3.mk" +PLIST.nls= yes +.else +CONFIGURE_ARGS+= --disable-nls +.endif |