commit: 1c75ceb4385735bdc0de57ea2cee5ac3fc9197ec
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 28 19:06:31 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Sep 28 19:08:53 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c75ceb4
app-text/goldendict: Disable git execution in src_configure
Gentoo-bug: 603238
Package-Manager: Portage-2.3.8, Repoman-2.3.1
app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
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 503434c0a66..f49ddfb6ad2 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:' \