summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail-client/trojita/trojita-0.7-r2.ebuild4
-rw-r--r--mail-client/trojita/trojita-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/mail-client/trojita/trojita-0.7-r2.ebuild b/mail-client/trojita/trojita-0.7-r2.ebuild
index 8a1979d7b34..9f0e744cd9c 100644
--- a/mail-client/trojita/trojita-0.7-r2.ebuild
+++ b/mail-client/trojita/trojita-0.7-r2.ebuild
@@ -18,6 +18,8 @@ LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
IUSE="+crypt +dbus debug +password test +zlib"
+REQUIRED_USE="password? ( dbus )"
+
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -62,7 +64,7 @@ src_configure() {
-DWITH_GPGMEPP=$(usex crypt)
-DWITH_MIMETIC=$(usex crypt)
-DWITH_DBUS=$(usex dbus)
- -DWITH_QTKEYCHAINPLUGIN=$(usex password)
+ -DWITH_QTKEYCHAIN_PLUGIN=$(usex password)
-DWITH_TESTS=$(usex test)
-DWITH_ZLIB=$(usex zlib)
)
diff --git a/mail-client/trojita/trojita-9999.ebuild b/mail-client/trojita/trojita-9999.ebuild
index 070ef4d1f87..3868e240b41 100644
--- a/mail-client/trojita/trojita-9999.ebuild
+++ b/mail-client/trojita/trojita-9999.ebuild
@@ -18,6 +18,8 @@ LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
IUSE="+crypt +dbus debug +password test +zlib"
+REQUIRED_USE="password? ( dbus )"
+
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
@@ -56,7 +58,7 @@ src_configure() {
-DWITH_GPGMEPP=$(usex crypt)
-DWITH_MIMETIC=$(usex crypt)
-DWITH_DBUS=$(usex dbus)
- -DWITH_QTKEYCHAINPLUGIN=$(usex password)
+ -DWITH_QTKEYCHAIN_PLUGIN=$(usex password)
-DWITH_TESTS=$(usex test)
-DWITH_ZLIB=$(usex zlib)
)