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

Thanks-to: orbea <orbea@riseup.net>
Closes: https://bugs.gentoo.org/778329
Closes: https://bugs.gentoo.org/725042
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-03-26 17:06:55 +00:00
parent 56dd992394
commit ecd5a47ae7

View File

@@ -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
}