Date: Wed, 22 Feb 2012 16:06:54 -0900 (AKST) From: Mel Flynn <rflynn@acsalaska.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: MAINTAINER <delphij@FreeBSD.org> Subject: ports/165408: [patch] net/openldap24-server: fix BDB detection. Message-ID: <201202230106.q1N16suc005125@datakitty.lan.rachie.is-a-geek.net> Resent-Message-ID: <201202230110.q1N1ACsj017594@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202230106.q1N16suc005125>