summaryrefslogtreecommitdiff
path: root/net/openldap2
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-09-09 08:36:59 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-09-09 08:36:59 +0000
commitce3302d469e318ea69e7eb4bdfdef4bdc0cd5dce (patch)
treea60f5ed68284028486e79575c75b5fb64fdb2102 /net/openldap2
parentupgrade to 1.29 (diff)
Add the WITH_ODBC option, used to compile the optional SQL backend.
Notes
Notes: svn path=/head/; revision=47564
Diffstat (limited to 'net/openldap2')
-rw-r--r--net/openldap2/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/openldap2/Makefile b/net/openldap2/Makefile
index 9acd4c66a24e..d866fecb29dd 100644
--- a/net/openldap2/Makefile
+++ b/net/openldap2/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}"