summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/sqwebmail/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index 7444759bff9f..4c218dffb41b 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -96,7 +96,7 @@ PLIST_SUB+= AUTHDFLAG="@comment "
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
+USE_OPENLDAP= YES
CONFIGURE_ARGS+= --with-authldap
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"