git: d4c65d595d62 - main - net/openldap2[56]-server: Do not build SMBPWD overlay on FreeBSD 15.

From: Xin LI <delphij_at_FreeBSD.org>
Date: Fri, 25 Jul 2025 07:13:45 UTC
The branch main has been updated by delphij:

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

commit d4c65d595d624f3e183fb550f3a7c2ebe5b32b22
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2025-07-25 07:11:43 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2025-07-25 07:13:40 +0000

    net/openldap2[56]-server: Do not build SMBPWD overlay on FreeBSD 15.
    
    The overlay is contributed code and requires Heimdal Kerberos 5.
    
    PR:             ports/288368
---
 net/openldap25-server/Makefile | 2 ++
 net/openldap26-server/Makefile | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net/openldap25-server/Makefile b/net/openldap25-server/Makefile
index a67c7c5c9618..0deaa6d39afb 100644
--- a/net/openldap25-server/Makefile
+++ b/net/openldap25-server/Makefile
@@ -115,6 +115,8 @@ OPTIONS_DEFINE+=	OUTLOOK
 OPTIONS_DEFINE+=	ARGON2
 OPTIONS_DEFINE+=	LLOADD
 
+OPTIONS_EXCLUDE_FreeBSD_15=	SMBPWD	# Only works with Heimdal
+
 OPTIONS_DEFAULT+=	${BKNDS_DEFAULTS}
 OPTIONS_DEFAULT+=	${OPTIONS_GROUP_OVLYS}
 OPTIONS_DEFAULT+=	ARGON2 LLOADD
diff --git a/net/openldap26-server/Makefile b/net/openldap26-server/Makefile
index 68ab7a2079fb..b05c13c76075 100644
--- a/net/openldap26-server/Makefile
+++ b/net/openldap26-server/Makefile
@@ -116,6 +116,8 @@ OPTIONS_DEFINE+=	OUTLOOK
 OPTIONS_DEFINE+=	ARGON2
 OPTIONS_DEFINE+=	LLOADD
 
+OPTIONS_EXCLUDE_FreeBSD_15=	SMBPWD	# Only works with Heimdal
+
 OPTIONS_DEFAULT+=	${BKNDS_DEFAULTS}
 OPTIONS_DEFAULT+=	${OPTIONS_GROUP_OVLYS}
 OPTIONS_DEFAULT+=	ARGON2 LLOADD