summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-09-28 21:06:31 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-28 21:08:53 +0200
commit1c75ceb4385735bdc0de57ea2cee5ac3fc9197ec (patch)
tree433760d22570488d22b89d4432ed72114989e834 /app-text/goldendict
parentdev-python/python-ebtables: New package, python bindings for ebtables (diff)
downloadgentoo-1c75ceb4385735bdc0de57ea2cee5ac3fc9197ec.tar.gz
gentoo-1c75ceb4385735bdc0de57ea2cee5ac3fc9197ec.tar.bz2
gentoo-1c75ceb4385735bdc0de57ea2cee5ac3fc9197ec.zip
app-text/goldendict: Disable git execution in src_configure
Gentoo-bug: 603238 Package-Manager: Portage-2.3.8, Repoman-2.3.1
Diffstat (limited to 'app-text/goldendict')
-rw-r--r--app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
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:' \