commit:     a00efb254eca85bbfca006d9f901e55d1e90cdfa
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 21 01:00:13 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Thu Aug 21 01:00:13 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=a00efb25

[app-crypt/qca] Specify correct QCA_FEATURE_INSTALL_DIR.

Package-Manager: portage-2.2.12

---
 app-crypt/qca/qca-9999.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-crypt/qca/qca-9999.ebuild b/app-crypt/qca/qca-9999.ebuild
index 395eb61..d3bed01 100644
--- a/app-crypt/qca/qca-9999.ebuild
+++ b/app-crypt/qca/qca-9999.ebuild
@@ -13,7 +13,9 @@ EGIT_REPO_URI="git://anongit.kde.org/${PN}.git"
 LICENSE="LGPL-2.1"
 SLOT="2"
 KEYWORDS=""
+
 IUSE="botan debug doc examples gcrypt gpg logger nss openssl pkcs11 +qt4 qt5 
sasl softstore test"
+REQUIRED_USE="^^ ( qt4 qt5 )"
 
 RDEPEND="
        !app-crypt/qca-cyrus-sasl
@@ -45,7 +47,6 @@ DEPEND="${RDEPEND}
                qt5? ( dev-qt/qttest:5 )
        )
 "
-REQUIRED_USE="^^ ( qt4 qt5 )"
 
 DOCS=( README TODO )
 
@@ -55,7 +56,8 @@ qca_plugin_use() {
 
 src_configure() {
        local mycmakeargs=(
-               -DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)/$(usev 
qt4 || usev qt5)/plugins/crypto"
+               -DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)/$(usex 
qt4 qt4 qt5)/plugins/crypto"
+               -DQCA_FEATURE_INSTALL_DIR="${EPREFIX}/usr/$(usex qt4 share 
$(get_libdir))/$(usex qt4 qt4 qt5)/mkspecs/features"
                $(cmake-utils_use qt4 QT4_BUILD)
                $(qca_plugin_use botan)
                $(qca_plugin_use gcrypt)

Reply via email to