commit: 63b9c19d930dd93a17499357d6380996bde48e62 Author: Brett A C Sheffield <bacs <AT> librecast <DOT> net> AuthorDate: Mon Feb 16 15:23:54 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 18 13:39:46 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63b9c19d
dev-libs/bitset: revbump to remove USE=jemalloc - remove USE=jemalloc - update EAPI Closes: https://bugs.gentoo.org/970143 Signed-off-by: Brett A C Sheffield <bacs <AT> librecast.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/74 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/bitset/bitset-2.8.4-r4.ebuild | 51 ++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/dev-libs/bitset/bitset-2.8.4-r4.ebuild b/dev-libs/bitset/bitset-2.8.4-r4.ebuild new file mode 100644 index 000000000000..44298cd57094 --- /dev/null +++ b/dev-libs/bitset/bitset-2.8.4-r4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A compressed bitset with supporting data structures and algorithms" +HOMEPAGE="https://github.com/chriso/bitset" +SRC_URI="https://github.com/chriso/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="static-libs tcmalloc" + +RDEPEND=" + tcmalloc? ( dev-util/google-perftools:= ) +" +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +src_prepare() { + default + + # Disable aggressive optimization, which does not respect CFLAGS + # with new autoconf, bug #815637 + sed -i -e '/AX_CC_MAXOPT/d' configure.ac || die + + eautoreconf +} + +src_configure() { + local tcmalloc_lib_name='tcmalloc' + + has_version dev-util/google-perftools[minimal] && tcmalloc_lib_name='tcmalloc_minimal' + + local myeconfargs=( + $(use_with tcmalloc) \ + $(use_with tcmalloc tcmalloc-lib "${tcmalloc_lib_name}") + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +}
