Skip to content

Commit

Permalink
mail-filter/opendkim: fix building against BerkeleyDB.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
  • Loading branch information
orlitzky committed Jun 14, 2019
1 parent b9bd152 commit 129704f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ src_configure() {
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
Expand Down

0 comments on commit 129704f

Please sign in to comment.