From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 14 01:10:11 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 946DB16A4DA for ; Fri, 14 Jul 2006 01:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFACE43D4C for ; Fri, 14 Jul 2006 01:10:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6E1AAGX034342 for ; Fri, 14 Jul 2006 01:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6E1AAJH034338; Fri, 14 Jul 2006 01:10:10 GMT (envelope-from gnats) Resent-Date: Fri, 14 Jul 2006 01:10:10 GMT Resent-Message-Id: <200607140110.k6E1AAJH034338@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, Paul Dlug Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 986BF16A4DF; Fri, 14 Jul 2006 01:01:46 +0000 (UTC) (envelope-from paul@lugnut.aps.org) Received: from lugnut.aps.org (lugnut.aps.org [149.28.3.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3282A43D4C; Fri, 14 Jul 2006 01:01:46 +0000 (GMT) (envelope-from paul@lugnut.aps.org) Received: from lugnut.aps.org (localhost [127.0.0.1]) by lugnut.aps.org (8.13.6/8.13.6) with ESMTP id k6E11jSH013365; Thu, 13 Jul 2006 21:01:45 -0400 (EDT) (envelope-from paul@lugnut.aps.org) Received: (from paul@localhost) by lugnut.aps.org (8.13.6/8.13.6/Submit) id k6E11iRO013364; Thu, 13 Jul 2006 21:01:44 -0400 (EDT) (envelope-from paul) Message-Id: <200607140101.k6E11iRO013364@lugnut.aps.org> Date: Thu, 13 Jul 2006 21:01:44 -0400 (EDT) From: Paul Dlug To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: clement@FreeBSD.org Subject: ports/100259: [Patch] Allow www/apache22 to use db44 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Dlug List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 01:10:11 -0000 >Number: 100259 >Category: ports >Synopsis: [Patch] Allow www/apache22 to use db44 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jul 14 01:10:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Paul Dlug >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD lugnut.aps.org 6.1-STABLE FreeBSD 6.1-STABLE #1: Wed May 17 12:03:59 EDT 2006 root@lugnut.aps.org:/usr/obj/usr/src/sys/LUGNUT i386 >Description: If Berkeley DB 4.4 is installed (databases/db44) www/apache22 will not use it. If you set WITH_BERKELEYDB to db44 it reports "Unknown Berkeley DB version" and fails to build. The fix is to simply add db44 to the list of supported Berkeley DB versions in Makefile.modules. Patch is included below which adds db44 to the list of supported berkeley db's. (Maintainer cc'd). >How-To-Repeat: Install databases/db44, set WITH_BERKELEYDB to 'db44' and build www/apache22 >Fix: --- apache22.diff begins here --- --- Makefile.modules Mon May 1 05:07:27 2006 +++ /usr/ports/www/apache22/Makefile.modules Thu Jul 13 19:38:55 2006 @@ -84,6 +84,10 @@ LIB_DEPENDS+= db-4.3:${PORTSDIR}/databases/db43 CONFIGURE_ARGS+= --with-dbm=db43 \ --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db43 +. elif ${WITH_BERKELEYDB} == "db44" +LIB_DEPENDS+= db-4.4:${PORTSDIR}/databases/db44 +CONFIGURE_ARGS+= --with-dbm=db44 \ + --with-berkeley-db=${LOCALBASE}/include:${LOCALBASE}/lib/db44 . else IGNORE= "Unknown Berkeley DB version" . endif --- apache22.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: