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.
Created attachment 75674 [details, diff] Typo
Comment on attachment 75674 [details, diff] Typo >--- 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 \
Created attachment 75675 [details, diff] Patch for the apr-util ebuild to correctly disable berkeley db support
Fixed in CVS (apr-util-0.9.7)