commit: 49f2297af1bb8d361d15848b698606c00a24250e Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Sun Jun 9 17:52:04 2019 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Sun Jun 9 17:52:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f2297a
dev-libs/libgpg-error: fix build on platforms with non-bash /bin/sh ./autogen.sh uses advanced constructs not necessarily available in /bin/sh, leading to empty PACKAGE_VERSION in configure after eautoreconf. This itself leads to a build failure due to some script being called with too few arguments. Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 dev-libs/libgpg-error/libgpg-error-1.36.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-libs/libgpg-error/libgpg-error-1.36.ebuild b/dev-libs/libgpg-error/libgpg-error-1.36.ebuild index 2f5646dc9d0..c9f3433df00 100644 --- a/dev-libs/libgpg-error/libgpg-error-1.36.ebuild +++ b/dev-libs/libgpg-error/libgpg-error-1.36.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools libtool multilib-minimal toolchain-funcs +inherit autotools libtool multilib-minimal toolchain-funcs prefix DESCRIPTION="Contains error handling functions used by GnuPG software" HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error" @@ -30,6 +30,10 @@ PATCHES=( "${FILESDIR}/${PN}-1.36-gawk5-support.patch" ) src_prepare() { default + # only necessary for as long as we run eautoreconf, configure.ac + # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is + # not a pure /bin/sh script, so it fails on some hosts + hprefixify -w 1 autogen.sh eautoreconf }
