git: 98a5d42b4981 - main - Mk/bsd.ldap.mk: Fix library name for OpenLDAP 2.6

From: Xin LI <delphij_at_FreeBSD.org>
Date: Sun, 21 Nov 2021 22:51:35 UTC
The branch main has been updated by delphij:

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

commit 98a5d42b4981f66bc8c062426a07931ce80d8131
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2021-11-21 22:49:27 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2021-11-21 22:49:27 +0000

    Mk/bsd.ldap.mk: Fix library name for OpenLDAP 2.6
---
 Mk/bsd.ldap.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/bsd.ldap.mk b/Mk/bsd.ldap.mk
index fda99e5c0273..755506c16864 100644
--- a/Mk/bsd.ldap.mk
+++ b/Mk/bsd.ldap.mk
@@ -33,7 +33,7 @@ DEFAULT_OPENLDAP_VER?=	24
 # OpenLDAP client versions currently supported
 OPENLDAP24_LIB=		libldap-2.4.so.2
 OPENLDAP25_LIB=		libldap-2.5.so.0
-OPENLDAP26_LIB=		libldap-2.6.so.0
+OPENLDAP26_LIB=		libldap.so.2
 
 .if exists(${LOCALBASE}/bin/ldapwhoami)
 _OPENLDAP_VER!=	${LOCALBASE}/bin/ldapwhoami -VV 2>&1 | ${GREP} ldapwhoami | ${SED} -E 's/.*OpenLDAP: ldapwhoami (2)\.([0-9]).*/\1\2/'