diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-09-09 08:36:59 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-09-09 08:36:59 +0000 |
commit | ce3302d469e318ea69e7eb4bdfdef4bdc0cd5dce (patch) | |
tree | a60f5ed68284028486e79575c75b5fb64fdb2102 /net/openldap20-server | |
parent | upgrade 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/openldap20-server')
-rw-r--r-- | net/openldap20-server/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/openldap20-server/Makefile b/net/openldap20-server/Makefile index 9acd4c66a24e..d866fecb29dd 100644 --- a/net/openldap20-server/Makefile +++ b/net/openldap20-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}" |