Skip to content

Commit

Permalink
mail-mta/exim: specify best matching db version, bug #653252
Browse files Browse the repository at this point in the history
Upstream banned >=db-6 for various reasons, so we need to tell
explicitly which version of db is available (<6) to be used.

Closes: https://bugs.gentoo.org/653252
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
grobian committed Apr 16, 2018
1 parent 0e30944 commit 3077289
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mail-mta/exim/exim-4.91.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI="6"

inherit eutils toolchain-funcs multilib pam systemd
inherit db-use eutils toolchain-funcs multilib pam systemd

IUSE="arc dane dcc +dkim dlfunc dmarc +dnsdb doc dovecot-sasl dsn elibc_glibc exiscan-acl gnutls idn ipv6 ldap libressl lmtp maildir mbx mysql nis pam perl pkcs11 postgres +prdr proxy radius redis sasl selinux spf sqlite srs ssl syslog tcpd +tpda X"
REQUIRED_USE="
Expand Down Expand Up @@ -196,9 +196,11 @@ src_configure() {

# use the "native" interfaces to the DBM and CDB libraries, support
# passwd and directory lookups by default
local DB_VERS="5.3 5.1 4.8 4.7 4.6 4.5 4.4 4.3 4.2 3.2"
cat >> Makefile <<- EOC
USE_DB=yes
DBMLIB=-ldb
CFLAGS+=-I$(db_includedir ${DB_VERS})
DBMLIB=-l$(db_libname ${DB_VERS})
LOOKUP_CDB=yes
LOOKUP_PASSWD=yes
LOOKUP_DSEARCH=yes
Expand Down

0 comments on commit 3077289

Please sign in to comment.