commit:     903a890ff05ce3dbbe456a7a309a3febb52daa95
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue May 12 06:37:10 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue May 12 06:41:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903a890f

mail-mta/exim-4.93.0.4: force correct version of db.h to be found

Closes: https://bugs.gentoo.org/722530
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 mail-mta/exim/exim-4.93.0.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mail-mta/exim/exim-4.93.0.4.ebuild 
b/mail-mta/exim/exim-4.93.0.4.ebuild
index 6e787039465..1599e1d7e65 100644
--- a/mail-mta/exim/exim-4.93.0.4.ebuild
+++ b/mail-mta/exim/exim-4.93.0.4.ebuild
@@ -223,7 +223,8 @@ src_configure() {
                LOOKUP_CDB=yes
                LOOKUP_PASSWD=yes
                LOOKUP_DSEARCH=yes
-               LOOKUP_INCLUDE += -I$(db_includedir ${DB_VERS})
+               # keep include in CFLAGS because exim.h -> dbstuff.h -> db.h
+               CFLAGS += -I$(db_includedir ${DB_VERS})
                DBMLIB = -l$(db_libname ${DB_VERS})
        EOC
 

Reply via email to