git: d2cae5b102dc - main - net/openldap24-server: Replace INVALID_BDB_VER with argument of 'USES=bdb'

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sun, 03 Apr 2022 02:28:14 UTC
The branch main has been updated by yasu:

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

commit d2cae5b102dc4a72638c03e5d5efb229be6ffda6
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-04-02 05:02:19 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-04-03 02:25:55 +0000

    net/openldap24-server: Replace INVALID_BDB_VER with argument of 'USES=bdb'
    
    PR:             263010
    Approved by:    maintainer
---
 net/openldap24-server/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 605f7f362e72..f20743e6336c 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -481,8 +481,7 @@ CONFIGURE_ARGS+=	--localstatedir=${LOCALSTATEDIR} \
 PLIST_SUB+=		BACKEND=${BACKEND_PLIST}
 
 .if ${PORT_OPTIONS:MBDB}
-USES+=			bdb
-INVALID_BDB_VER=	6
+USES+=			bdb:5
 
 CONFIGURE_ARGS+=	--enable-bdb=${BACKEND_ENABLE} \
 			--enable-hdb=${BACKEND_ENABLE}