summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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:' \