git: 68803eb8cc98 - 2023Q3 - security/krb5*: Disable NLS when option is deselected

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 15:31:31 UTC
The branch 2023Q3 has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68803eb8cc9886c539e24ce36586d56c6143a5bd

commit 68803eb8cc9886c539e24ce36586d56c6143a5bd
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-08-09 21:55:16 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-08-16 15:31:23 +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.
    
    (cherry picked from commit 0b58b7b475e3100adfb3b532f2dfb9505e79bf83)
---
 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 75697fd82345..3e1a1babb7a6 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