aboutsummaryrefslogtreecommitdiff
path: root/security/opensc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/opensc/Makefile')
-rw-r--r--security/opensc/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index 5f3bdadda634..d7f74cb271a6 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -51,13 +51,7 @@ CONFIGURE_ARGS+= --with-pcsclite=${LOCALBASE}
.endif
.if !defined(WITHOUT_LDAP)
-WITH_OPENLDAP_VER?= 21
-.if ${WITH_OPENLDAP_VER} == "21"
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
-.elif ${WITH_OPENLDAP_VER} == "20"
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
-.endif
-
+USE_OPENLDAP= yes
CONFIGURE_ARGS+= --enable-ldap \
--with-ldap-lib=openldap \
--with-ldap-dir=${LOCALBASE}