summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/libgda2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/libgda2/Makefile b/databases/libgda2/Makefile
index fdebda0ad..b28f359f3 100644
--- a/databases/libgda2/Makefile
+++ b/databases/libgda2/Makefile
@@ -106,7 +106,7 @@ CONFIGURE_ARGS+= --without-postgres
.endif
.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
+USE_OPENLDAP= yes
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
PLIST_SUB+= LDAP:=""
.else