commit:     bd60cb68dd81581e60e7365f942afd5098dffae4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 20 23:52:04 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 20 23:52:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd60cb68

dev-libs/libltdl: add 2.6.0 (unkeyworded)

alpha release: https://savannah.gnu.org/news/?id=10814

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libltdl/Manifest             |  1 +
 dev-libs/libltdl/libltdl-2.6.0.ebuild | 49 +++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-libs/libltdl/Manifest b/dev-libs/libltdl/Manifest
index 90f9651fa1a1..d1c7c08acf4a 100644
--- a/dev-libs/libltdl/Manifest
+++ b/dev-libs/libltdl/Manifest
@@ -1 +1,2 @@
 DIST libtool-2.5.4.tar.xz 1056924 BLAKE2B 
47de3c49a690d44d7ddd5e3b5e4090c91dc5fbb9c40fc4a3963e150fb7329326ee3e21b8c149974726171c4b0380028e0efc7a369c4f04357eea46f69852e1cc
 SHA512 
eed207094bcc444f4bfbb13710e395e062e3f1d312ca8b186ab0cbd22dc92ddef176a0b3ecd43e02676e37bd9e328791c59a38ef15846d4eae15da4f20315724
+DIST libtool-2.6.0.tar.xz 1086020 BLAKE2B 
33346f21fc5ad0e2925b2b12e3aa4715546683181c0323912f31ce9e3e7ac9ee103e2bd608d3d8b45fd82c59c6f2e082ac7baf3946d12169f05c760920ad1117
 SHA512 
79af0baf14d598b3091fc770b004a80ffb7ecf0cc8440b5947a41d3c8e603566783008deb3248235d87088810b69824003defed3e66dccb6c03c635095c9fb41

diff --git a/dev-libs/libltdl/libltdl-2.6.0.ebuild 
b/dev-libs/libltdl/libltdl-2.6.0.ebuild
new file mode 100644
index 000000000000..d065fe983f39
--- /dev/null
+++ b/dev-libs/libltdl/libltdl-2.6.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Please bump with dev-build/libtool.
+
+inherit multilib-minimal flag-o-matic
+
+MY_P="libtool-${PV}"
+
+DESCRIPTION="A shared library tool for developers"
+HOMEPAGE="https://www.gnu.org/software/libtool/";
+if true || ! [[ $(( $(ver_cut 2) % 2 )) -eq 0 ]] ; then
+       # 2.6.0 is an alpha release
+       SRC_URI="https://alpha.gnu.org/gnu/libtool/${MY_P}.tar.xz";
+else
+       SRC_URI="mirror://gnu/libtool/${MY_P}.tar.xz"
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+fi
+
+S="${WORKDIR}"/${MY_P}/libltdl
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="static-libs"
+# libltdl doesn't have a testsuite.  Don't bother trying.
+RESTRICT="test"
+
+BDEPEND="app-arch/xz-utils"
+
+multilib_src_configure() {
+       # bug #907427
+       filter-lto
+
+       append-lfs-flags
+       ECONF_SOURCE="${S}" \
+       econf \
+               --enable-ltdl-install \
+               $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+       emake DESTDIR="${D}" install
+
+       # While the libltdl.la file is not used directly, the m4 ltdl logic
+       # keys off of its existence when searching for ltdl support. # bug 
#293921
+       #use static-libs || find "${D}" -name libltdl.la -delete
+}

Reply via email to