ports/165408: [patch] net/openldap24-server: fix BDB detection.
Mel Flynn
rflynn at acsalaska.net
Thu Feb 23 01:10:13 UTC 2012
>Number: 165408
>Category: ports
>Synopsis: [patch] net/openldap24-server: fix BDB detection.
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 23 01:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Mel Flynn
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD datakitty.lan.rachie.is-a-geek.net 8.2-STABLE FreeBSD 8.2-STABLE #6 r230977: Sun Feb 5 06:20:11 AKST 2012 mel at datakitty.lan.rachie.is-a-geek.net:/data/obj/data/RELENG_8/src/sys/GENERIC amd64
>Description:
When using BDB 5, the bdb module will not be available, due to the fact
that 5 is smaller then 43.
After fixing it module is available and have not run into any issues
using it (in case this version check was intentional).
>How-To-Repeat:
make -C /usr/ports/net/openldap24-server WITH_BDB_VER=5 install
>Fix:
--- ldap-bdb.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/openldap24-server/Makefile,v
retrieving revision 1.194
diff -u -r1.194 Makefile
--- Makefile 6 Feb 2012 12:25:45 -0000 1.194
+++ Makefile 23 Feb 2012 00:59:26 -0000
@@ -324,7 +324,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} \
--- ldap-bdb.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list