aboutsummaryrefslogtreecommitdiff
path: root/net/openldap21-server
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-02-29 18:19:21 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-02-29 18:19:21 +0000
commit0501cda9a0095a3d19e912f37f97a28da7e19b5d (patch)
treede93dc7890328e10783102f469648767b810ebe6 /net/openldap21-server
parent4aef816ed7509586f66779493c5e07af33de1fc9 (diff)
downloadports-0501cda9a0095a3d19e912f37f97a28da7e19b5d.tar.gz
ports-0501cda9a0095a3d19e912f37f97a28da7e19b5d.zip
Notes
Diffstat (limited to 'net/openldap21-server')
-rw-r--r--net/openldap21-server/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/openldap21-server/Makefile b/net/openldap21-server/Makefile
index 1e5607069165..94bb4100c491 100644
--- a/net/openldap21-server/Makefile
+++ b/net/openldap21-server/Makefile
@@ -113,7 +113,6 @@ EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Makefile.in
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
--enable-ldbm \
- --with-ldbm-api=berkeley \
--enable-crypt \
--enable-lmpasswd \
--enable-ldap \
@@ -122,6 +121,12 @@ CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
--enable-null \
--enable-monitor
+.if defined(WITHOUT_BDB)
+CONFIGURE_ARGS+= --with-ldbm-api=bcompat \
+ --disable-bdb
+.else
+CONFIGURE_ARGS+= --with-ldbm-api=berkeley
+
WITH_BDB_VER?= 41
.if ${WITH_BDB_VER} == 42
@@ -145,6 +150,7 @@ LIBS+= -ldb-4.2
LIBS+= -ldb${WITH_BDB_VER}
.endif
CPPFLAGS+= -I${LOCALBASE}/include/db${WITH_BDB_VER}
+.endif
.if defined(WITH_SHELL)
CONFIGURE_ARGS+= --enable-shell
@@ -228,6 +234,7 @@ pre-everything::
@${ECHO} "WITH_ODBC with SQL backend"
@${ECHO} "WITH_ODBC_TYPE select ODBC interface (iODBC or unixODBC)"
@${ECHO} "WITHOUT_TCP_WRAPPERS without tcp wrapper support"
+ @${ECHO} "WITHOUT_BDB without BerkeleyDB support"
.endif
@${ECHO}
@${ECHO} "============================================================="