From 923109a0c1d43754fa2e2e5c53f8b5f0ac4cb3a3 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sun, 4 Jun 2017 17:16:37 +1000 Subject: [PATCH] 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 8dd808d31947..f1d6022513e9 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 -- 2.26.2