Bug 116980 - apr-util does not honour the berkdb useflag. [PATCH]
Bug#: 116980 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: apache-bugs@gentoo.org Reported By: pauldv@gentoo.org
Component: Ebuilds
URL: 
Summary: apr-util does not honour the berkdb useflag. [PATCH]
Keywords:  
Status Whiteboard: 
Opened: 2005-12-28 06:50 0000
Description:   Opened: 2005-12-28 06:50 0000
Apr-util will always build against berkeley db when present, as without the
useflag the configure script defaults to autodetection. I'll attach a patch
that fixes this.

------- Comment #1 From Paul de Vrieze 2005-12-28 06:52:46 0000 -------
Created an attachment (id=75674) [details]
Patch for the apr-util ebuild to correctly disable berkeley db support

------- Comment #2 From Paul de Vrieze 2005-12-28 06:55:20 0000 -------
(From update of attachment 75674 [details])
>--- apr-util-0.9.7.ebuild.orig	2005-10-22 23:07:32.000000000 +0200
>+++ apr-util-0.9.7.ebuild	2005-12-28 15:46:09.000000000 +0100
>@@ -46,6 +46,8 @@
> 			myconf="${myconf} --with-dbm=db2
> 			--with-berkely-db=/usr/include/db2:/usr/$(get_libdir)"
> 		fi
>+	else
>+		myconf="${myconf} --without-berkeley-db"
> 	fi
> 
> 	econf \

------- Comment #3 From Paul de Vrieze 2005-12-28 06:56:39 0000 -------
Created an attachment (id=75675) [details]
Patch for the apr-util ebuild to correctly disable berkeley db support

------- Comment #4 From Michael Stewart (vericgar) (RETIRED) 2006-01-04 21:01:36 0000 -------
Fixed in CVS (apr-util-0.9.7)