aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5-113
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2017-03-14 11:15:54 +0800
committercy <cy@FreeBSD.org>2017-03-14 11:15:54 +0800
commit70b0bc1c04ecc8e72731fbc997ec79dc2fb67157 (patch)
treef9a9d2d9b24d62eb7368e29be9634c9d0ee05981 /security/krb5-113
parenteb3bfab3299efb0ba4cb3b574b9ce1aedec02427 (diff)
downloadfreebsd-ports-gnome-70b0bc1c04ecc8e72731fbc997ec79dc2fb67157.tar.gz
freebsd-ports-gnome-70b0bc1c04ecc8e72731fbc997ec79dc2fb67157.tar.zst
freebsd-ports-gnome-70b0bc1c04ecc8e72731fbc997ec79dc2fb67157.zip
Respect global NLS option.
PR: 217552 Submitted by: John W. O'brien <john@saltant.com> Differential Revision: D9889
Diffstat (limited to 'security/krb5-113')
-rw-r--r--security/krb5-113/Makefile5
-rw-r--r--security/krb5-113/pkg-plist2
2 files changed, 4 insertions, 3 deletions
diff --git a/security/krb5-113/Makefile b/security/krb5-113/Makefile
index 7a75b68c6318..f4173f3e2c27 100644
--- a/security/krb5-113/Makefile
+++ b/security/krb5-113/Makefile
@@ -28,7 +28,7 @@ USE_PERL5= build
USE_LDCONFIG= yes
USE_CSTD= gnu99
GNU_CONFIGURE= yes
-USES= cpe gettext gmake perl5 libtool:build \
+USES= cpe gmake perl5 libtool:build \
gssapi:bootstrap,mit pkgconfig:run ssl
CONFIGURE_ARGS?= --enable-shared --without-system-verto \
--disable-rpath --localstatedir="${PREFIX}/var"
@@ -39,7 +39,7 @@ CPE_VENDOR= mit
CPE_VERSION= 5-${PORTVERSION}
CPE_PRODUCT= kerberos
-OPTIONS_DEFINE= EXAMPLES KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP
+OPTIONS_DEFINE= EXAMPLES NLS KRB5_PDF KRB5_HTML DNS_FOR_REALM LDAP
OPTIONS_DEFAULT= KRB5_PDF KRB5_HTML READLINE
OPTIONS_RADIO= CMD_LINE_EDITING
OPTIONS_RADIO_CMD_LINE_EDITING= READLINE READLINE_PORT LIBEDIT
@@ -50,6 +50,7 @@ DNS_FOR_REALM_CONFIGURE_ENABLE= dns-for-realm
LDAP= Enable LDAP support
LDAP_USE= OPENLDAP=yes
LDAP_CONFIGURE_WITH= ldap
+NLS_USES= gettext
READLINE_USES= readline
READLINE_PORT_DESC= Command line editing via devel/readline
READLINE_PORT_USES= readline:port
diff --git a/security/krb5-113/pkg-plist b/security/krb5-113/pkg-plist
index 1c3c770dff64..9089df5fa363 100644
--- a/security/krb5-113/pkg-plist
+++ b/security/krb5-113/pkg-plist
@@ -159,7 +159,7 @@ sbin/uuserver
share/doc/krb5/README.FreeBSD
share/et/et_c.awk
share/et/et_h.awk
-share/locale/en_US/LC_MESSAGES/mit-krb5.mo
+%%NLS%%share/locale/en_US/LC_MESSAGES/mit-krb5.mo
%%LDAP%%%%DATADIR%%/kerberos.schema
%%LDAP%%%%DATADIR%%/kerberos.ldif
@dir lib/krb5/plugins/authdata