commit:     129704fc9faf6d415a66b48171c1840e30ebf399
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 14 13:28:33 2019 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 13:33:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129704fc

mail-filter/opendkim: fix building against BerkeleyDB.

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 <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 .../{opendkim-2.10.3-r13.ebuild => opendkim-2.10.3-r14.ebuild}         | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/mail-filter/opendkim/opendkim-2.10.3-r13.ebuild 
b/mail-filter/opendkim/opendkim-2.10.3-r14.ebuild
similarity index 99%
rename from mail-filter/opendkim/opendkim-2.10.3-r13.ebuild
rename to mail-filter/opendkim/opendkim-2.10.3-r14.ebuild
index 037a1b0f98c..ff45f1dac4d 100644
--- a/mail-filter/opendkim/opendkim-2.10.3-r13.ebuild
+++ b/mail-filter/opendkim/opendkim-2.10.3-r14.ebuild
@@ -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

Reply via email to