aboutsummaryrefslogtreecommitdiffstats
path: root/net/openldap21-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap21-server/Makefile')
-rw-r--r--net/openldap21-server/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/openldap21-server/Makefile b/net/openldap21-server/Makefile
index 9acd4c66a24e..d866fecb29dd 100644
--- a/net/openldap21-server/Makefile
+++ b/net/openldap21-server/Makefile
@@ -50,6 +50,11 @@ LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
CPPFLAGS+= -I${LOCALBASE}/include/sasl
.endif
+.if defined(WITH_ODBC)
+LIB_DEPENDS+= iodbc.2:${PORTSDIR}/databases/libiodbc
+CONFIGURE_ARGS+=--enable-sql
+.endif
+
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"