From e3b9196e5d19db1770bfec45c753608df2447675 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Thu, 15 Sep 2016 06:27:37 +1000 Subject: [PATCH] sci-visualization/kst: avoid REQUIRED_USE for Qt version selection Package-Manager: portage-2.3.0 --- sci-visualization/kst/kst-2.0.8.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sci-visualization/kst/kst-2.0.8.ebuild b/sci-visualization/kst/kst-2.0.8.ebuild index 7a792318de8d..4b0c98e7d336 100644 --- a/sci-visualization/kst/kst-2.0.8.ebuild +++ b/sci-visualization/kst/kst-2.0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -15,14 +15,12 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="GPL-2 LGPL-2 FDL-1.2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="debug +qt4 qt5 test" - -REQUIRED_USE="^^ ( qt4 qt5 )" +IUSE="debug qt5 test" RESTRICT="test" RDEPEND=" - qt4? ( + !qt5? ( dev-qt/designer:4 dev-qt/qtcore:4 dev-qt/qtgui:4 @@ -46,7 +44,10 @@ RDEPEND=" sci-libs/netcdf-cxx:3 " DEPEND="${RDEPEND} - test? ( dev-qt/qttest:4 ) + test? ( + !qt5? ( dev-qt/qttest:4 ) + qt5? ( dev-qt/qttest:5 ) + ) " S=${WORKDIR}/${MY_P} -- 2.26.2