net-libs/qmf: remove examples USE flag
authorMichael Palimaka <kensington@gentoo.org>
Sun, 4 Jun 2017 07:16:37 +0000 (17:16 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 4 Jun 2017 07:16:47 +0000 (17:16 +1000)
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

index 8dd808d319473b863fa7f787d0587fb6c625234a..f1d6022513e96820841e53b239c616e8b03dd271 100644 (file)
@@ -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