diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2020-08-25 21:23:35 +0200 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2020-08-25 21:23:52 +0200 |
commit | 882bca25117d59f7637b57b77c8b37f113045dba (patch) | |
tree | a6006a38c3ecb3dbe181787c49ab47c2c12e41a0 /mail-mta | |
parent | app-portage/gemato: Bump to 15.0 (diff) | |
download | gentoo-882bca25117d59f7637b57b77c8b37f113045dba.tar.gz gentoo-882bca25117d59f7637b57b77c8b37f113045dba.tar.bz2 gentoo-882bca25117d59f7637b57b77c8b37f113045dba.zip |
mail-mta/opensmtpd: conditionalize db on berkdb use flag
Closes: https://bugs.gentoo.org/737454
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild b/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild index 115b05b5c443..d93aa1e499e4 100644 --- a/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild +++ b/mail-mta/opensmtpd/opensmtpd-6.7.1_p1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.opensmtpd.org/archives/${P/_}.tar.gz" LICENSE="ISC BSD BSD-1 BSD-2 BSD-4" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="libressl pam +mta" +IUSE="libressl pam +mta berkdb" DEPEND=" acct-user/smtpd @@ -22,7 +22,7 @@ DEPEND=" elibc_musl? ( sys-libs/fts-standalone ) sys-libs/zlib pam? ( sys-libs/pam ) - sys-libs/db:= + berkdb? ( sys-libs/db:= ) dev-libs/libevent app-misc/ca-certificates net-mail/mailbase @@ -53,7 +53,8 @@ src_configure() { --with-user-smtpd=smtpd \ --with-user-queue=smtpq \ --with-group-queue=smtpq \ - $(use_with pam auth-pam) + $(use_with pam auth-pam) \ + $(use_with berkdb table-db) } src_install() { |