git: 49a9755d0da7 - main - sysutils/omnibackup: convert OpenLDAP dependency to USES=ldap:server

From: Xin LI <delphij_at_FreeBSD.org>
Date: Mon, 10 Aug 2026 03:55:52 UTC
The branch main has been updated by delphij:

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

commit 49a9755d0da70c0fd0e49ae242bc82433f115de5
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2026-08-09 17:20:13 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2026-08-10 03:55:18 +0000

    sysutils/omnibackup: convert OpenLDAP dependency to USES=ldap:server
    
    Use ldap:server via the options framework instead of manually adding
    the server RUN_DEPENDS.
    
    Note that techinically omnibackup does not require the client library
    anyway.
    
    PR:             ports/297403
    Approved by:    maintainer (Mamadou Babaei)
---
 sysutils/omnibackup/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sysutils/omnibackup/Makefile b/sysutils/omnibackup/Makefile
index 6fa619d6c360..6bd0bd018dd4 100644
--- a/sysutils/omnibackup/Makefile
+++ b/sysutils/omnibackup/Makefile
@@ -23,7 +23,7 @@ OPTIONS_DEFAULT=	\
 	MYSQL
 
 OPENLDAP_DESC=	OpenLDAP support
-OPENLDAP_USES=	ldap
+OPENLDAP_USES=	ldap:server
 
 NO_ARCH=	yes
 NO_BUILD=	yes
@@ -49,9 +49,6 @@ PLIST_FILES+=	${DOCSDIR}/README.md
 	|| ${PORT_OPTIONS:MPGSQL} \
 	|| ${PORT_OPTIONS:MMYSQL}
 USES+=	sudo
-.if ${PORT_OPTIONS:MOPENLDAP}
-RUN_DEPENDS+=	slapcat:net/openldap${OPENLDAP_VER}-server
-.endif
 .if ${PORT_OPTIONS:MPGSQL}
 USES+=	pgsql
 RUN_DEPENDS+=	pg_dump:databases/postgresql${PGSQL_VER_NODOT}-client