From: Andreas Sturmlechner Date: Thu, 28 Sep 2017 19:06:31 +0000 (+0200) Subject: app-text/goldendict: Disable git execution in src_configure X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1c75ceb4385735bdc0de57ea2cee5ac3fc9197ec;p=gentoo.git app-text/goldendict: Disable git execution in src_configure Gentoo-bug: 603238 Package-Manager: Portage-2.3.8, Repoman-2.3.1 --- diff --git a/app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild b/app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild index 503434c0a663..f49ddfb6ad24 100644 --- a/app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild +++ b/app-text/goldendict/goldendict-1.5.0_rc2-r1.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=6 @@ -55,6 +55,11 @@ S="${WORKDIR}/${PN}-${MY_PV}" src_prepare() { default + # disable git + sed -i \ + -e '/git describe/s/^/#/' \ + ${PN}.pro || die + # fix installation path sed -i \ -e '/PREFIX = /s:/usr/local:/usr:' \