ports/96752: Support Berkeley DB 4.4 in OpenLDAP 2.3
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Thu May 4 07:00:32 UTC 2006
>Number: 96752
>Category: ports
>Synopsis: Support Berkeley DB 4.4 in OpenLDAP 2.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu May 04 07:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 6.1-RC i386
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD IRIS.sunpoet.net 6.1-RC FreeBSD 6.1-RC #3: Tue Apr 11 22:24:01 CST 2006 sunpoet at IRIS.sunpoet.net:/usr/obj/usr/src/sys/sunpoet i386
>Description:
Support Berkeley DB 4.4 in OpenLDAP 2.3.
>How-To-Repeat:
>Fix:
% diff -u /usr/ports/net/openldap23-server/Makefile.orig /usr/ports/net/openldap23-server/Makefile
--- /usr/ports/net/openldap23-server/Makefile.orig Mon Apr 24 22:59:21 2006
+++ /usr/ports/net/openldap23-server/Makefile Tue Apr 25 10:14:33 2006
@@ -270,9 +270,15 @@
BACK_HDB="@comment "
.else
-WITH_BDB_VER?= 43
+WITH_BDB_VER?= 44
-.if ${WITH_BDB_VER} == 43
+.if ${WITH_BDB_VER} == 44
+CONFIGURE_ARGS+= --enable-bdb=${BACKEND_ENABLE} \
+ --enable-hdb=${BACKEND_ENABLE}
+PLIST_SUB+= BACK_BDB=${BACKEND_PLIST} \
+ BACK_HDB=${BACKEND_PLIST}
+BDBLIB= db-4.4.0
+.elif ${WITH_BDB_VER} == 43
CONFIGURE_ARGS+= --enable-bdb=${BACKEND_ENABLE} \
--enable-hdb=${BACKEND_ENABLE}
PLIST_SUB+= BACK_BDB=${BACKEND_PLIST} \
@@ -303,7 +309,7 @@
BACK_HDB="@comment "
BDBLIB= db3.3
.else
-IGNORE= : WITH_BDB_VER must be 3, 4, 41, 42 or 43
+IGNORE= : WITH_BDB_VER must be 3, 4, 41, 42, 43 or 44
.endif
LIB_DEPENDS+= ${BDBLIB}:${PORTSDIR}/databases/db${WITH_BDB_VER}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list