commit:     923109a0c1d43754fa2e2e5c53f8b5f0ac4cb3a3
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  4 07:16:37 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 07:16:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=923109a0

net-libs/qmf: remove examples USE flag

The examples USE flag requires dev-qt/qtwebkit:4 which is ancient and will not
see further security updates.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-libs/qmf/qmf-4.0.3.ebuild | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/net-libs/qmf/qmf-4.0.3.ebuild b/net-libs/qmf/qmf-4.0.3.ebuild
index 8dd808d3194..f1d6022513e 100644
--- a/net-libs/qmf/qmf-4.0.3.ebuild
+++ b/net-libs/qmf/qmf-4.0.3.ebuild
@@ -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=5
@@ -22,13 +22,12 @@ 
HOMEPAGE="https://code.qt.io/cgit/qt-labs/messagingframework.git/";
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 ~ppc ~ppc64 x86"
-IUSE="debug doc examples icu test zlib"
+IUSE="debug doc icu test zlib"
 
 RDEPEND="
        dev-qt/qtcore:4[ssl]
        dev-qt/qtgui:4
        dev-qt/qtsql:4
-       examples? ( dev-qt/qtwebkit:4 )
        icu? ( dev-libs/icu:= )
        zlib? ( sys-libs/zlib )
 "
@@ -47,9 +46,9 @@ src_prepare() {
 
        sed -i -e '/SUBDIRS.*=/s/benchmarks//' messagingframework.pro || die
 
-       if ! use examples; then
-               sed -i -e '/SUBDIRS.*=/s/examples//' messagingframework.pro || 
die
-       fi
+       # disable examples which require dev-qt/qtwebkit:4
+       sed -i -e '/SUBDIRS.*=/s/examples//' messagingframework.pro || die
+
        if ! use test; then
                sed -i -e '/SUBDIRS.*=/s/tests//' messagingframework.pro || die
        fi

Reply via email to