Our ebuild was doing something strange with USE=berkdb set, and as a
result, the ./configure script for OpenDKIM was not being passed the
correct location for the BerkeleyDB headers. This seems like a simple
fix; to set
--with-db-incdir="$(db_includedir)"
in the ebuild. I've made that change in a new revision, and tested
that the OpenDKIM build system can pick up the right version of
BerkeleyDB:
checking for BerkeleyDB db.h... /usr/include/db6.0
Seems to work.
Closes: https://bugs.gentoo.org/684958
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
local myconf=()
if use berkdb ; then
myconf+=(
- $(db_includedir)
- --with-db-incdir=${myconf#-I}
+ --with-db-incdir=$(db_includedir)
--enable-popauth
--enable-query_cache
--enable-stats