| @@ -1,17 +1,18 @@ | | | @@ -1,17 +1,18 @@ |
1 | # $NetBSD: options.mk,v 1.1 2019/10/24 11:53:13 triaxx Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2019/10/25 12:36:50 triaxx Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.bash | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.bash |
4 | PKG_SUPPORTED_OPTIONS= nls | | 4 | PKG_SUPPORTED_OPTIONS= nls |
| | | 5 | PKG_SUGGESTED_OPTIONS= nls |
5 | | | 6 | |
6 | PLIST_VARS+= nls | | 7 | PLIST_VARS+= nls |
7 | | | 8 | |
8 | .include "../../mk/bsd.options.mk" | | 9 | .include "../../mk/bsd.options.mk" |
9 | | | 10 | |
10 | ### | | 11 | ### |
11 | ### NLS support | | 12 | ### NLS support |
12 | ### | | 13 | ### |
13 | .if !empty(PKG_OPTIONS:Mnls) | | 14 | .if !empty(PKG_OPTIONS:Mnls) |
14 | USE_PKGLOCALEDIR= yes | | 15 | USE_PKGLOCALEDIR= yes |
15 | USE_TOOLS+= msgfmt msgmerge xgettext | | 16 | USE_TOOLS+= msgfmt msgmerge xgettext |
16 | CONFIGURE_ARGS+= --enable-nls | | 17 | CONFIGURE_ARGS+= --enable-nls |
17 | . include "../../devel/gettext-lib/buildlink3.mk" | | 18 | . include "../../devel/gettext-lib/buildlink3.mk" |