1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Mk/bsd.ldap.mk: Fix library name for OpenLDAP 2.6

This commit is contained in:
Xin LI 2021-11-21 14:49:27 -08:00
parent a41b9653c7
commit 98a5d42b49

View File

@ -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/'