Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 158683
Collapse All | Expand All

(-)/var/portage/portage/mail-client/mutt/mutt-1.5.13-r2.ebuild (-7 / +10 lines)
Lines 10-22 Link Here
10
	!vanilla? (
10
	!vanilla? (
11
		mirror://gentoo/${P}-gentoo-patches.tar.bz2
11
		mirror://gentoo/${P}-gentoo-patches.tar.bz2
12
	)"
12
	)"
13
IUSE="berkdb buffysize cjk crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop sasl smime ssl vanilla"
13
IUSE="berkdb buffysize cjk crypt debug gdbm gnutls gpgme idn imap mbox nls nntp pop qdbm sasl smime ssl vanilla"
14
SLOT="0"
14
SLOT="0"
15
LICENSE="GPL-2"
15
LICENSE="GPL-2"
16
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
16
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
17
RDEPEND=">=sys-libs/ncurses-5.2
17
RDEPEND=">=sys-libs/ncurses-5.2
18
	gdbm?    ( sys-libs/gdbm )
18
	qdbm?    ( dev-db/qdbm )
19
	!gdbm?   ( berkdb? ( >=sys-libs/db-4 ) )
19
	!qdbm?   ( gdbm?    ( sys-libs/gdbm )
20
			   !gdbm?   ( berkdb? ( >=sys-libs/db-4 ) ) )
20
	imap?    (
21
	imap?    (
21
		gnutls?  ( >=net-libs/gnutls-1.0.17 )
22
		gnutls?  ( >=net-libs/gnutls-1.0.17 )
22
		!gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
23
		!gnutls? ( ssl? ( >=dev-libs/openssl-0.9.6 ) )
Lines 85-96 Link Here
85
86
86
	# mutt prioritizes gdbm over bdb, so we will too.
87
	# mutt prioritizes gdbm over bdb, so we will too.
87
	# hcache feature requires at least one database is in USE.
88
	# hcache feature requires at least one database is in USE.
88
	if use gdbm; then
89
	if use qdbm; then
89
		myconf="${myconf} --enable-hcache --with-gdbm --without-bdb"
90
		myconf="${myconf} --enable-hcache --with-qdbm --without-gdbm --without-bdb"
91
	elif use gdbm; then
92
		myconf="${myconf} --enable-hcache --without-qdbm --with-gdbm --without-bdb"
90
	elif use berkdb; then
93
	elif use berkdb; then
91
		myconf="${myconf} --enable-hcache --with-bdb --without-gdbm"
94
		myconf="${myconf} --enable-hcache --without-qdbm --without-gdbm --with-bdb"
92
	else
95
	else
93
		myconf="${myconf} --disable-hcache --without-gdbm --without-bdb"
96
		myconf="${myconf} --disable-hcache --without-qdbm --without-gdbm --without-bdb"
94
	fi
97
	fi
95
98
96
	# there's no need for gnutls, ssl or sasl without either pop or imap.
99
	# there's no need for gnutls, ssl or sasl without either pop or imap.

Return to bug 158683