diff options
author | eik <eik@FreeBSD.org> | 2004-02-29 18:19:21 +0000 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-02-29 18:19:21 +0000 |
commit | 38e242bc8c81a5e61f05f1e9d7153f800246ca3b (patch) | |
tree | f7befa0c20412adc0a152785e10f9143eb72be01 /net/openldap22-server | |
parent | 0b1ffc53db8df96417c2cfe6dd013253a3ea62c9 (diff) | |
download | FreeBSD-ports-38e242bc8c81a5e61f05f1e9d7153f800246ca3b.zip FreeBSD-ports-38e242bc8c81a5e61f05f1e9d7153f800246ca3b.tar.gz |
Introduce WITHOUT_BDB to work around a bug in BerkeleyDB on AMD64:
<http://www.openldap.org/lists/openldap-software/200402/msg00756.html>
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 74da562..cea180c 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} "=============================================================" |