git: af4b0743783d - main - security/certmonger: convert OpenLDAP dependency to USES=ldap

From: Xin LI <delphij_at_FreeBSD.org>
Date: Sun, 09 Aug 2026 19:03:04 UTC
The branch main has been updated by delphij:

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

commit af4b0743783d97b513498be0f5591db4e0bd1a08
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-08-09 07:21:24 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-08-09 19:02:43 +0000

    security/certmonger: convert OpenLDAP dependency to USES=ldap
    
    Replace hardcoded libldap.so:net/openldap26-client in LIB_DEPENDS
    with USES=ldap, letting the framework handle version selection.
    
    PR:             ports/297400
    Approved by:    maintainer (crees)
---
 security/certmonger/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/security/certmonger/Makefile b/security/certmonger/Makefile
index c0085399bffe..96e44017f2ce 100644
--- a/security/certmonger/Makefile
+++ b/security/certmonger/Makefile
@@ -15,13 +15,12 @@ LIB_DEPENDS=	libcurl.so:ftp/curl		\
 		libdbus-1.so:devel/dbus		\
 		libidn2.so:dns/libidn2		\
 		libjansson.so:devel/jansson	\
-		libldap.so:net/openldap26-client \
 		libnspr4.so:devel/nspr		\
 		libnss3.so:security/nss		\
 		libpopt.so:devel/popt		\
 		libuuid.so:misc/libuuid
 
-USES=		autoreconf gettext gnome gssapi:mit iconv pkgconfig \
+USES=		autoreconf gettext gnome gssapi:mit iconv ldap pkgconfig \
 		samba:lib ssl
 USE_GNOME=	libxml2
 USE_RC_SUBR=	${PORTNAME}