blob: 04e282e4983d8fc6db745a8beeb9f1390ed4f3f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: options.mk,v 1.2 2019/10/25 12:36:50 triaxx Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bash
PKG_SUPPORTED_OPTIONS= nls
PKG_SUGGESTED_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
|