Date: Mon, 29 Aug 2011 14:58:59 +1000 (AEST) From: John Marshall <john.marshall@riverwillow.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160270: [PATCH] net/openldap24-server: Support new BDB_VERSION numbers Message-ID: <201108290458.p7T4wxtS003230@rwpc13.mby.riverwillow.net.au> Resent-Message-ID: <201108290520.p7T5KA6m036286@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108290458.p7T4wxtS003230>