commit:     ecd5a47ae731070d3ccf1537d24a13cb656feb43
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 26 17:06:55 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 17:06:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecd5a47a

net-libs/openmq-cclient: fix build with slibtool, fix epatch

Thanks-to: orbea <orbea <AT> riseup.net>
Closes: https://bugs.gentoo.org/778329
Closes: https://bugs.gentoo.org/725042
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild 
b/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild
index 0036565e627..11ea9ac736c 100644
--- a/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild
+++ b/net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
-inherit versionator autotools
+inherit autotools epatch versionator
 
 DESCRIPTION="C-Client Library for Open Source Java Message Service (JMS)"
 HOMEPAGE="https://mq.java.net/";
@@ -70,6 +70,11 @@ src_prepare() {
                AC_OUTPUT(Makefile)
        EOF
 
+       # bug #778329
+       sed -e 's/--no-undefined/-no-undefined/' \
+               -e "s/'\*Test\*' ')')/'\*Test\*' ')' | grep -v examples)/" \
+               -i "${S}"/Makefile.in || die
+
        eautoreconf
 }
 

Reply via email to