From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 23 01:10:13 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 213FE106567F for ; Thu, 23 Feb 2012 01:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D511B8FC17 for ; Thu, 23 Feb 2012 01:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1N1ACNM017595 for ; Thu, 23 Feb 2012 01:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1N1ACsj017594; Thu, 23 Feb 2012 01:10:12 GMT (envelope-from gnats) Resent-Date: Thu, 23 Feb 2012 01:10:12 GMT Resent-Message-Id: <201202230110.q1N1ACsj017594@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mel Flynn Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CC2F106567B for ; Thu, 23 Feb 2012 01:06:57 +0000 (UTC) (envelope-from mel@datakitty.lan.rachie.is-a-geek.net) Received: from datakitty.lan.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0BF8F8FC20 for ; Thu, 23 Feb 2012 01:06:56 +0000 (UTC) Received: from datakitty.lan.rachie.is-a-geek.net (localhost [127.0.0.1]) by datakitty.lan.rachie.is-a-geek.net (8.14.5/8.14.5) with ESMTP id q1N16to6005126; Wed, 22 Feb 2012 16:06:55 -0900 (AKST) (envelope-from mel@datakitty.lan.rachie.is-a-geek.net) Received: (from mel@localhost) by datakitty.lan.rachie.is-a-geek.net (8.14.5/8.14.5/Submit) id q1N16suc005125; Wed, 22 Feb 2012 16:06:54 -0900 (AKST) (envelope-from mel) Message-Id: <201202230106.q1N16suc005125@datakitty.lan.rachie.is-a-geek.net> Date: Wed, 22 Feb 2012 16:06:54 -0900 (AKST) From: Mel Flynn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: MAINTAINER Subject: ports/165408: [patch] net/openldap24-server: fix BDB detection. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mel Flynn List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 01:10:13 -0000 >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: