I think this is the first time a package tried to play this trick on me:

--- /var/db/pkg/dev-libs/qcustomplot-1.3.2/qcustomplot-1.3.2.ebuild     
2017-05-21 13:38:15.482740587 -0700
+++ /usr/portage/dev-libs/qcustomplot/qcustomplot-1.3.2.ebuild  2017-09-22 
19:27:30.000000000 -0700
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,19 +14,13 @@
 SLOT="0"
 LICENSE="GPL-3"
 KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
-IUSE="qt5"
+IUSE=""
 
 RDEPEND="
-       !qt5? (
-               dev-qt/qtcore:4
-               dev-qt/qtgui:4
-       )
-       qt5? (
-               dev-qt/qtcore:5
-               dev-qt/qtgui:5
-               dev-qt/qtprintsupport:5
-               dev-qt/qtwidgets:5
-       )
+       dev-qt/qtcore:5
+       dev-qt/qtgui:5
+       dev-qt/qtprintsupport:5
+       dev-qt/qtwidgets:5
 "
 DEPEND="${RDEPEND}"
 
@@ -42,7 +36,7 @@
 }
 
 src_configure() {
-       use qt5 && eqmake5 || eqmake4
+       eqmake5
 }
 
 src_install() {


Is this an officially approved technique??  it is DIRTY.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.

Reply via email to