From 242d52cec78669064d65f8b2d4162e30c87abcac Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sun, 1 Mar 2020 14:18:22 +1100 Subject: [PATCH] media-sound/mp3diags: avoid unused dependency Closes: https://bugs.gentoo.org/711086 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Palimaka --- media-sound/mp3diags/mp3diags-1.5.01.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/media-sound/mp3diags/mp3diags-1.5.01.ebuild b/media-sound/mp3diags/mp3diags-1.5.01.ebuild index 2d96e59d1931..58c6ebc2190d 100644 --- a/media-sound/mp3diags/mp3diags-1.5.01.ebuild +++ b/media-sound/mp3diags/mp3diags-1.5.01.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -31,6 +31,13 @@ RDEPEND="${DEPEND} S=${WORKDIR}/${MY_P} +src_prepare() { + # unused dependency - bug #711086 + sed -i -e "/^network/d" src/src.pro || die + + default +} + src_configure() { eqmake5 ${PN}.pro } -- 2.26.2