Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/goldendict/
Date: Thu, 28 Sep 2017 19:09:11
Message-Id: 1506625733.1c75ceb4385735bdc0de57ea2cee5ac3fc9197ec.asturm@gentoo
1 commit: 1c75ceb4385735bdc0de57ea2cee5ac3fc9197ec
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 28 19:06:31 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 28 19:08:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c75ceb4
7
8 app-text/goldendict: Disable git execution in src_configure
9
10 Gentoo-bug: 603238
11
12 Package-Manager: Portage-2.3.8, Repoman-2.3.1
13
14 app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild | 7 ++++++-
15 1 file changed, 6 insertions(+), 1 deletion(-)
16
17 diff --git a/app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild b/app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild
18 index 503434c0a66..f49ddfb6ad2 100644
19 --- a/app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild
20 +++ b/app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2016 Gentoo Foundation
23 +# Copyright 1999-2017 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=6
27 @@ -55,6 +55,11 @@ S="${WORKDIR}/${PN}-${MY_PV}"
28 src_prepare() {
29 default
30
31 + # disable git
32 + sed -i \
33 + -e '/git describe/s/^/#/' \
34 + ${PN}.pro || die
35 +
36 # fix installation path
37 sed -i \
38 -e '/PREFIX = /s:/usr/local:/usr:' \