ports/160270: [PATCH] net/openldap24-server: Support new BDB_VERSION numbers
John Marshall
john.marshall at riverwillow.com.au
Mon Aug 29 05:20:10 UTC 2011
>Number: 160270
>Category: ports
>Synopsis: [PATCH] net/openldap24-server: Support new BDB_VERSION numbers
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 29 05:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: John Marshall
>Release: FreeBSD 8.2-RELEASE i386
>Organization:
Riverwillow Pty Ltd
>Environment:
System: FreeBSD rwsrv05.mby.riverwillow.net.au 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 12:18:09 AEDT 2011 root@:/spare/obj/usr/src/sys/RWSRV05 i386
>Description:
As of the introduction of Berkeley DB 5.2 into the ports tree, the
BDB_VER numbering scheme has changed (see ports/159700) and
Mk/bsd.database.mk. The OpenLDAP port's Makefile does not recognize the
new BDB_VER=5.
>How-To-Repeat:
Build port with WITH_BDB_VER=5 and watch it set --disable-bdb for
configure.
>Fix:
The attached patch teaches the Makefile to recognize BDB_VER=5. Quite
likely the maintainer will want to do this differently in order to cater
for subsequent releases of Berkelye DB under the new BDB_VER numbering
scheme.
--- openldap24-server_2.4.26.diff begins here ---
--- openldap24-server/Makefile.orig 2011-07-21 05:02:02.000000000 +1000
+++ openldap24-server/Makefile 2011-08-29 12:06:05.000000000 +1000
@@ -323,7 +323,7 @@
INVALID_BDB_VER= 42
USE_BDB= yes
-.if ${WITH_BDB_VER} >= 43
+.if ${WITH_BDB_VER} >= 43 || ${WITH_BDB_VER} == 5
CONFIGURE_ARGS+= --enable-bdb=${BACKEND_ENABLE} \
--enable-hdb=${BACKEND_ENABLE}
PLIST_SUB+= BACK_BDB=${BACKEND_PLIST} \
--- openldap24-server_2.4.26.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list