sys-apps/guix: run automake from src_prepare, bug #625166
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 15 Jul 2017 11:01:50 +0000 (12:01 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 15 Jul 2017 11:29:15 +0000 (12:29 +0100)
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

index cedb13c2759a25d5deab984aad0c086f627fa6e4..54b553a520cc708c56fd46a9e6fd78612883436f 100644 (file)
@@ -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() {