commit:     242d52cec78669064d65f8b2d4162e30c87abcac
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  1 03:18:22 2020 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Mar  1 03:18:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=242d52ce

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 <kensington <AT> gentoo.org>

 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 2d96e59d193..58c6ebc2190 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
 }

Reply via email to