git: 0b58b7b475e3 - main - security/krb5*: Disable NLS when option is deselected

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 09 Aug 2023 23:46:57 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b58b7b475e3100adfb3b532f2dfb9505e79bf83

commit 0b58b7b475e3100adfb3b532f2dfb9505e79bf83
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-08-09 21:55:16 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-08-09 23:24:40 +0000

    security/krb5*: Disable NLS when option is deselected
    
    When the NLS option is deselected, ./configure reverts to
    enable_nls=check. As some prerequisites do require NLS, NLS is
    always enabled even when deslected. This ensures that when NLS
    is not wanted, that it is not used, regardless of its install status.
---
 security/krb5-119/Makefile   | 1 +
 security/krb5-120/Makefile   | 1 +
 security/krb5-121/Makefile   | 1 +
 security/krb5-devel/Makefile | 1 +
 4 files changed, 4 insertions(+)

diff --git a/security/krb5-119/Makefile b/security/krb5-119/Makefile
index 1af0c0d2d3d8..0cd71c5fdfa6 100644
--- a/security/krb5-119/Makefile
+++ b/security/krb5-119/Makefile
@@ -59,6 +59,7 @@ LMDB_CONFIGURE_WITH=	lmdb
 LMDB_LIB_DEPENDS=	liblmdb.so:databases/lmdb
 LMDB_IMPLIES=		LDAP
 NLS_USES=		gettext
+NLS_CONFIGURE_OFF=	--disable-nls
 READLINE_USES=		readline
 READLINE_CONFIGURE_WITH=readline
 LIBEDIT_USES=		libedit
diff --git a/security/krb5-120/Makefile b/security/krb5-120/Makefile
index 2faf994efdfb..d2557352ae56 100644
--- a/security/krb5-120/Makefile
+++ b/security/krb5-120/Makefile
@@ -53,6 +53,7 @@ LMDB_CONFIGURE_WITH=	lmdb
 LMDB_LIB_DEPENDS=	liblmdb.so:databases/lmdb
 LMDB_IMPLIES=		LDAP
 NLS_USES=		gettext
+NLS_CONFIGURE_OFF=	--disable-nls
 READLINE_USES=		readline
 READLINE_CONFIGURE_WITH=readline
 LIBEDIT_USES=		libedit
diff --git a/security/krb5-121/Makefile b/security/krb5-121/Makefile
index 9e0d61a1e323..3338cd4fbe6f 100644
--- a/security/krb5-121/Makefile
+++ b/security/krb5-121/Makefile
@@ -53,6 +53,7 @@ LMDB_CONFIGURE_WITH=	lmdb
 LMDB_LIB_DEPENDS=	liblmdb.so:databases/lmdb
 LMDB_IMPLIES=		LDAP
 NLS_USES=		gettext
+NLS_CONFIGURE_OFF=	--disable-nls
 READLINE_USES=		readline
 READLINE_CONFIGURE_WITH=readline
 LIBEDIT_USES=		libedit
diff --git a/security/krb5-devel/Makefile b/security/krb5-devel/Makefile
index 9b30749ada7f..ad7f424f7e98 100644
--- a/security/krb5-devel/Makefile
+++ b/security/krb5-devel/Makefile
@@ -52,6 +52,7 @@ LMDB_CONFIGURE_WITH=	lmdb
 LMDB_LIB_DEPENDS=	liblmdb.so:databases/lmdb
 LMDB_IMPLIES=		LDAP
 NLS_USES=		gettext
+NLS_CONFIGURE_OFF=	--disable-nls
 READLINE_USES=		readline
 READLINE_CONFIGURE_WITH=readline
 LIBEDIT_USES=		libedit