mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Introduce WITHOUT_BDB to work around a bug in BerkeleyDB on AMD64:
<http://www.openldap.org/lists/openldap-software/200402/msg00756.html>
This commit is contained in:
parent
4aef816ed7
commit
0501cda9a0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102563
@ -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} "============================================================="
|
||||
|
@ -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} "============================================================="
|
||||
|
@ -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} "============================================================="
|
||||
|
@ -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} "============================================================="
|
||||
|
Loading…
Reference in New Issue
Block a user