aboutsummaryrefslogtreecommitdiffstats
path: root/net/openldap22-server
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-09-09 16:36:59 +0800
committerolgeni <olgeni@FreeBSD.org>2001-09-09 16:36:59 +0800
commit199dd9d88d57573ba3976e112c8a70fd286c3742 (patch)
tree5621d4c638ca5774638d3563dc2aa88f4c3e0d9e /net/openldap22-server
parent9c3d64ba12389595a0b9a3e54a9d998d3248d9c8 (diff)
downloadfreebsd-ports-gnome-199dd9d88d57573ba3976e112c8a70fd286c3742.tar.gz
freebsd-ports-gnome-199dd9d88d57573ba3976e112c8a70fd286c3742.tar.zst
freebsd-ports-gnome-199dd9d88d57573ba3976e112c8a70fd286c3742.zip
Add the WITH_ODBC option, used to compile the optional SQL backend.
Diffstat (limited to 'net/openldap22-server')
-rw-r--r--net/openldap22-server/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile
index 9acd4c66a24e..d866fecb29dd 100644
--- a/net/openldap22-server/Makefile
+++ b/net/openldap22-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}"