From 6dc0ca3db541827290cc299fbc49286d45f3d86f Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 12 Jun 2025 18:01:18 -0400 Subject: [PATCH] dev-libs/libserdes: stop erroneously installing static libs The fake autotools replacement is NOT in fact a drop-in replacement after all. It doesn't support our use case at all. `rm` it manually. Closes: https://bugs.gentoo.org/725138 Closes: https://bugs.gentoo.org/957823 Bug: https://github.com/edenhill/mklove/issues/16 Signed-off-by: Eli Schwartz --- dev-libs/libserdes/libserdes-5.4.0-r2.ebuild | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dev-libs/libserdes/libserdes-5.4.0-r2.ebuild diff --git a/dev-libs/libserdes/libserdes-5.4.0-r2.ebuild b/dev-libs/libserdes/libserdes-5.4.0-r2.ebuild new file mode 100644 index 0000000000000..1853effa735a2 --- /dev/null +++ b/dev-libs/libserdes/libserdes-5.4.0-r2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Avro SerializationDeserialization w/ Confluent schema-registry support" +HOMEPAGE="https://github.com/confluentinc/libserdes" +SRC_URI="https://github.com/confluentinc/libserdes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-libs/jansson:= + net-misc/curl + dev-libs/avro-c" +RDEPEND="${DEPEND}" + +src_install() { + default + # NIH reinvention of autoconf does not support autotools options + # such as controlling shared/static libs + rm "${ED}"/usr/$(get_libdir)/libserdes.a || die +}