aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5-114
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-114
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-114')
-rw-r--r--security/krb5-114/Makefile5
-rw-r--r--security/krb5-114/pkg-plist2
2 files changed, 4 insertions, 3 deletions
diff --git a/security/krb5-114/Makefile b/security/krb5-114/Makefile
index b124d1e7abc6..524fbfc30b00 100644
--- a/security/krb5-114/Makefile
+++ b/security/krb5-114/Makefile
@@ -26,7 +26,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"
@@ -37,7 +37,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
@@ -48,6 +48,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-114/pkg-plist b/security/krb5-114/pkg-plist
index 162244cbbb75..45c6a1fa0056 100644
--- a/security/krb5-114/pkg-plist
+++ b/security/krb5-114/pkg-plist
@@ -160,7 +160,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