app-text/goldendict: Disable git execution in src_configure
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 28 Sep 2017 19:06:31 +0000 (21:06 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 28 Sep 2017 19:08:53 +0000 (21:08 +0200)
Gentoo-bug: 603238

Package-Manager: Portage-2.3.8, Repoman-2.3.1

app-text/goldendict/goldendict-1.5.0_rc2-r1.ebuild

index 503434c0a663df0d23f7129f88ed644dd3cd6de3..f49ddfb6ad24da7045e226f8fce75e1a3135d6d6 100644 (file)
@@ -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:' \