commit:     00f4ee72699aee57c40978db46d0274a9fb61fcd
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 30 20:50:21 2015 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Fri Jan 30 20:50:21 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=00f4ee72

[sys-auth/polkit-qt] Shorten pkg setup

Package-Manager: portage-2.2.15

---
 sys-auth/polkit-qt/polkit-qt-9999.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys-auth/polkit-qt/polkit-qt-9999.ebuild 
b/sys-auth/polkit-qt/polkit-qt-9999.ebuild
index c3806a7..9b83b87 100644
--- a/sys-auth/polkit-qt/polkit-qt-9999.ebuild
+++ b/sys-auth/polkit-qt/polkit-qt-9999.ebuild
@@ -38,9 +38,7 @@ DEPEND="${RDEPEND}"
 DOCS=( AUTHORS README README.porting TODO )
 
 pkg_setup() {
-       MULTIBUILD_VARIANTS=()
-       use qt4 && MULTIBUILD_VARIANTS+=( qt4 )
-       use qt5 && MULTIBUILD_VARIANTS+=( qt5 )
+       MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
 }
 
 src_configure() {

Reply via email to