Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2006 21:01:44 -0400 (EDT)
From:      Paul Dlug <paul@aps.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        clement@FreeBSD.org
Subject:   ports/100259: [Patch] Allow www/apache22 to use db44
Message-ID:  <200607140101.k6E11iRO013364@lugnut.aps.org>
Resent-Message-ID: <200607140110.k6E1AAJH034338@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607140101.k6E11iRO013364>