diff options
author | Oliver Eikemeier <eik@FreeBSD.org> | 2004-02-29 18:19:21 +0000 |
---|---|---|
committer | Oliver Eikemeier <eik@FreeBSD.org> | 2004-02-29 18:19:21 +0000 |
commit | 0501cda9a0095a3d19e912f37f97a28da7e19b5d (patch) | |
tree | de93dc7890328e10783102f469648767b810ebe6 /net/openldap22-server | |
parent | 4aef816ed7509586f66779493c5e07af33de1fc9 (diff) | |
download | ports-0501cda9a0095a3d19e912f37f97a28da7e19b5d.tar.gz ports-0501cda9a0095a3d19e912f37f97a28da7e19b5d.zip |
Notes
Diffstat (limited to 'net/openldap22-server')
-rw-r--r-- | net/openldap22-server/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/openldap22-server/Makefile b/net/openldap22-server/Makefile index 74da56240ecc..cea180c9f2df 100644 --- a/net/openldap22-server/Makefile +++ b/net/openldap22-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 \ @@ -124,6 +123,12 @@ CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \ WITH_BDB_VER?= 42 +.if defined(WITHOUT_BDB) +CONFIGURE_ARGS+= --with-ldbm-api=bcompat \ + --disable-bdb +.else +CONFIGURE_ARGS+= --with-ldbm-api=berkeley + .if ${WITH_BDB_VER} == 42 LIB_DEPENDS+= db-4.2.2:${PORTSDIR}/databases/db42 CONFIGURE_ARGS+= --enable-bdb @@ -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 @@ -238,6 +244,7 @@ pre-everything:: @${ECHO} "WITH_ODBC_TYPE select ODBC interface (iODBC or unixODBC)" @${ECHO} "WITH_SLAPI with Netscape SLAPI plugin API @${ECHO} "WITHOUT_TCP_WRAPPERS without tcp wrapper support" + @${ECHO} "WITHOUT_BDB without BerkeleyDB support" .endif @${ECHO} @${ECHO} "=============================================================" |