commit: 04ba7c30638471966ab6837441a7ca5fbf86aa11
Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Tue May 29 17:26:25 2018 +0000
Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Tue May 29 17:26:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=04ba7c30
dev-libs/libgpg-error: force -no-undefined libtool flag (#584330)
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-libs/libgpg-error/libgpg-error-1.29.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-libs/libgpg-error/libgpg-error-1.29.ebuild
b/dev-libs/libgpg-error/libgpg-error-1.29.ebuild
index 6bb622efd3..da73f4e943 100644
--- a/dev-libs/libgpg-error/libgpg-error-1.29.ebuild
+++ b/dev-libs/libgpg-error/libgpg-error-1.29.ebuild
@@ -35,6 +35,12 @@ src_prepare() {
hprefixify "${S}"/autogen.sh
eautoreconf
elibtoolize
+
+ # upstream seems not interested in trying to understand (#584330)
+ # https://lists.gnupg.org/pipermail/gnupg-devel/2017-March/032671.html
+ einfo "Forcing -no-undefined libtool flag ..."
+ sed -i -e 's/\$(no_undefined)/-no-undefined/' src/Makefile.in
+ eend $? || die
}
multilib_src_configure() {