git: 34dcbb737114 - main - net/slapi-nis: Use USES=ldap

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Fri, 18 Sep 2026 18:04:29 UTC
The branch main has been updated by joneum:

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

commit 34dcbb7371143f7ed87034ab205f880e4b6143aa
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-09-18 18:02:53 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-09-18 18:04:05 +0000

    net/slapi-nis: Use USES=ldap
    
    Follow the framework default instead of pinning net/openldap26-client.
    
    PR:             298509
    Sponsored by:   Netzkommune GmbH
---
 net/slapi-nis/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net/slapi-nis/Makefile b/net/slapi-nis/Makefile
index 0fa780ae7432..fcf999e33301 100644
--- a/net/slapi-nis/Makefile
+++ b/net/slapi-nis/Makefile
@@ -11,13 +11,12 @@ LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/include/dirsrv/slapi-plugin.h:net/389-ds-base
-LIB_DEPENDS=	libldap.so:net/openldap26-client \
-		libnspr4.so:devel/nspr \
+LIB_DEPENDS=	libnspr4.so:devel/nspr \
 		libnss3.so:security/nss \
 		libsss_nss_idmap.so:security/sssd2
 RUN_DEPENDS=	389-ds-base>=0:net/389-ds-base
 
-USES=		autoreconf cpe gmake libtool localbase:ldflags pkgconfig
+USES=		autoreconf cpe gmake ldap libtool localbase:ldflags pkgconfig
 CPE_VENDOR=	slapi-nis_project
 
 GNU_CONFIGURE=	yes