summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-05-26 17:40:59 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-05-27 09:58:31 -0700
commit10411b7a0aa5529b072b836ec6560546499c7dc4 (patch)
tree20789948281e53aac1ac6f656a6987a2d0f0f9d1 /net-mail/isync
parentnet-firewall/nftables: slibtool patch to 0.9.9 and 9999 (bug #792414) (diff)
downloadgentoo-10411b7a0aa5529b072b836ec6560546499c7dc4.tar.gz
gentoo-10411b7a0aa5529b072b836ec6560546499c7dc4.tar.bz2
gentoo-10411b7a0aa5529b072b836ec6560546499c7dc4.zip
net-mail/isync: make sys-libs/db dependency optional
mbsync supports 2 UID schemes: native and alternative native is default and preferred. alternative is an old scheme used in versions 0.8 and 0.9 and uses Berkeley DB. see Maildir Stores section of 'man mbsync' as a side effect, mdconvert utility is only built if berkdb support is enabled. more info on mailing lists[1] [1] https://www.mail-archive.com/search?l=isync-devel@lists.sourceforge.net&q=subject:%22isync+and+Berkeley+DB%22&o=newest&f=1 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-mail/isync')
-rw-r--r--net-mail/isync/isync-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-mail/isync/isync-9999.ebuild b/net-mail/isync/isync-9999.ebuild
index 9525e6613cd8..07b35974fe65 100644
--- a/net-mail/isync/isync-9999.ebuild
+++ b/net-mail/isync/isync-9999.ebuild
@@ -16,10 +16,10 @@ else
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
fi
-IUSE="sasl ssl zlib"
+IUSE="berkdb sasl ssl zlib"
RDEPEND="
- >=sys-libs/db-4.2:=
+ berkdb? ( >=sys-libs/db-4.2:= )
sasl? ( dev-libs/cyrus-sasl )
ssl? ( >=dev-libs/openssl-0.9.6:0= )
zlib? ( sys-libs/zlib:0= )
@@ -35,6 +35,7 @@ src_prepare() {
}
src_configure() {
+ use berkdb || export ac_cv_berkdb4=no
econf \
$(use_with ssl) \
$(use_with sasl) \