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
This commit is contained in:
Sergei Trofimovich
2017-07-15 12:01:50 +01:00
parent abafceae3b
commit 031759cc08

View 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() {