| @@ -1,17 +1,18 @@ | | | @@ -1,17 +1,18 @@ |
1 | # $NetBSD: options.mk,v 1.5 2019/10/21 06:33:11 triaxx Exp $ | | 1 | # $NetBSD: options.mk,v 1.6 2019/10/25 12:36:12 triaxx Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gmake | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.gmake |
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 | .include "../../devel/gettext-lib/builtin.mk" | | 11 | .include "../../devel/gettext-lib/builtin.mk" |
11 | .if !empty(PKG_OPTIONS:Mnls) && \ | | 12 | .if !empty(PKG_OPTIONS:Mnls) && \ |
12 | !empty(IS_BUILTIN.gettext:M[yY][eE][sS]) | | 13 | !empty(IS_BUILTIN.gettext:M[yY][eE][sS]) |
13 | USE_PKGLOCALEDIR= yes | | 14 | USE_PKGLOCALEDIR= yes |
14 | USE_TOOLS+= msgfmt | | 15 | USE_TOOLS+= msgfmt |
15 | USE_BUILTIN.gettext= yes | | 16 | USE_BUILTIN.gettext= yes |
16 | . include "../../devel/gettext-lib/buildlink3.mk" | | 17 | . include "../../devel/gettext-lib/buildlink3.mk" |
17 | PLIST.nls= yes | | 18 | PLIST.nls= yes |