From 16dc9f83c86aa1e4e6fd1c7da4d12d3ce8e32f7c Mon Sep 17 00:00:00 2001 From: Bruce M Simpson Date: Sun, 22 Feb 2004 01:11:49 +0000 Subject: Heed USE_OPENLDAP. --- security/opensc/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'security') 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} -- cgit v1.2.3