ports/100259: [Patch] Allow www/apache22 to use db44
Paul Dlug
paul at aps.org
Fri Jul 14 01:10:11 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list