commit:     031759cc08e31936f9f5b9d03d2a6372c21236e5
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 11:01:50 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 11:29:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031759cc

sys-apps/guix: run automake from src_prepare, bug #625166

guix build system is very eager to run automake on
minor changes in .in files and breaks.

Run 'automake' unconditionally in src_prepare() to
workaround the failure.

Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/625166
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-apps/guix/guix-0.13.0.ebuild | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/sys-apps/guix/guix-0.13.0.ebuild b/sys-apps/guix/guix-0.13.0.ebuild
index cedb13c2759..54b553a520c 100644
--- a/sys-apps/guix/guix-0.13.0.ebuild
+++ b/sys-apps/guix/guix-0.13.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit readme.gentoo-r1 user
+inherit autotools readme.gentoo-r1 user
 
 DESCRIPTION="GNU package manager (nix sibling)"
 HOMEPAGE="https://www.gnu.org/software/guix/";
@@ -96,16 +96,18 @@ pkg_setup() {
        done
 }
 
-src_configure() {
-       # to be compatible with guix from /gnu/store
-       econf \
-               --localstatedir="${EPREFIX}"/var
-}
-
 src_prepare() {
        copy_boot_guile_binaries
 
        default
+       # build system is very eager to run automake itself: bug #625166
+       eautomake
+}
+
+src_configure() {
+       # to be compatible with guix from /gnu/store
+       econf \
+               --localstatedir="${EPREFIX}"/var
 }
 
 src_compile() {

Reply via email to