summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-26 17:06:55 +0000
committerSam James <sam@gentoo.org>2021-03-26 17:06:55 +0000
commitecd5a47ae731070d3ccf1537d24a13cb656feb43 (patch)
tree4582564214e21d4abf1de02940009fec5ca74dfa /net-libs/openmq-cclient
parentnet-analyzer/hydra: drop 9.0, 9.0-r1 (diff)
downloadgentoo-ecd5a47ae731070d3ccf1537d24a13cb656feb43.tar.gz
gentoo-ecd5a47ae731070d3ccf1537d24a13cb656feb43.tar.bz2
gentoo-ecd5a47ae731070d3ccf1537d24a13cb656feb43.zip
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>
Diffstat (limited to 'net-libs/openmq-cclient')
-rw-r--r--net-libs/openmq-cclient/openmq-cclient-4.4.1.ebuild9
1 files 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 0036565e6274..11ea9ac736ca 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
}