diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-06-09 19:52:04 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-06-09 19:52:37 +0200 |
commit | 49f2297af1bb8d361d15848b698606c00a24250e (patch) | |
tree | 8b0fdf97315ee8aaaf9acb5d5233c1eb161045a0 /dev-libs | |
parent | app-vim/gentoo-syntax: Bump to 20190609 (diff) | |
download | gentoo-49f2297af1bb8d361d15848b698606c00a24250e.tar.gz gentoo-49f2297af1bb8d361d15848b698606c00a24250e.tar.bz2 gentoo-49f2297af1bb8d361d15848b698606c00a24250e.zip |
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@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libgpg-error/libgpg-error-1.36.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-libs/libgpg-error/libgpg-error-1.36.ebuild b/dev-libs/libgpg-error/libgpg-error-1.36.ebuild index 2f5646dc9d06..c9f3433df003 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 } |