diff options
author | 2024-02-27 08:17:37 +0100 | |
---|---|---|
committer | 2024-02-27 08:17:37 +0100 | |
commit | 590b7767a21bedc458e177b56b337c00af2b1d55 (patch) | |
tree | 978147008d9bd4fc08d7061be0585fff04c8be85 /dev-tcltk/thread | |
parent | dev-tcltk/tclx: add 8.6.3, drop 8.4.4-r4 (diff) | |
download | gentoo-590b7767a21bedc458e177b56b337c00af2b1d55.tar.gz gentoo-590b7767a21bedc458e177b56b337c00af2b1d55.tar.bz2 gentoo-590b7767a21bedc458e177b56b337c00af2b1d55.zip |
dev-tcltk/thread: add 2.8.8
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/thread')
-rw-r--r-- | dev-tcltk/thread/Manifest | 1 | ||||
-rw-r--r-- | dev-tcltk/thread/thread-2.8.5.ebuild | 1 | ||||
-rw-r--r-- | dev-tcltk/thread/thread-2.8.8.ebuild | 44 |
3 files changed, 45 insertions, 1 deletions
diff --git a/dev-tcltk/thread/Manifest b/dev-tcltk/thread/Manifest index fa7d5e70e385..bc876ce12edd 100644 --- a/dev-tcltk/thread/Manifest +++ b/dev-tcltk/thread/Manifest @@ -1 +1,2 @@ DIST thread2.8.5.tar.gz 338776 BLAKE2B b6500ba59f87150d3d4479cae9a55b591a41768c6a74520933157d8fe2ec5374a79cf258fad1f08c775b190c17667dc529605f21a4fdd562320778be94b294a2 SHA512 b1cd049605f44ea5e85a121ff864d9e531491b24579654159dd5f3850b0aa4192ea79844324be3e9c6b395b14e6f765474c792bfd3271c7100b49f0ff22832d0 +DIST thread2.8.8.tar.gz 343099 BLAKE2B 3551bdbc4cab78c6ea0ea7eac43c53a65a1f55f9eae302ddd7030c33b40b76317ecc651d731411396cf4f51f11c852bab0c60642d36a312f23e22f96019df427 SHA512 249ddf689ee20536280e3b3d220c0faa3a8a2821bcd31a3f6188ef838d31e5cacefa7fd737b8e29b73a6b30e0a946d2eeb0805dd851c9f8aefc5c5bc5f50de0e diff --git a/dev-tcltk/thread/thread-2.8.5.ebuild b/dev-tcltk/thread/thread-2.8.5.ebuild index ac9589a23cf2..299354e5ba6b 100644 --- a/dev-tcltk/thread/thread-2.8.5.ebuild +++ b/dev-tcltk/thread/thread-2.8.5.ebuild @@ -14,7 +14,6 @@ SRC_URI="mirror://sourceforge/project/tcl/Thread%20Extension/${PV}/${MY_P}.tar.g LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="" DEPEND="dev-lang/tcl:0=[threads]" RDEPEND="${DEPEND}" diff --git a/dev-tcltk/thread/thread-2.8.8.ebuild b/dev-tcltk/thread/thread-2.8.8.ebuild new file mode 100644 index 000000000000..0d61f5d80f0b --- /dev/null +++ b/dev-tcltk/thread/thread-2.8.8.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +MY_P="${PN}${PV}" + +DESCRIPTION="Tcl Thread extension" +HOMEPAGE="http://www.tcl.tk/" +SRC_URI="mirror://sourceforge/project/tcl/Thread%20Extension/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND="dev-lang/tcl:0=[threads]" +RDEPEND="${DEPEND}" + +QA_CONFIG_IMPL_DECL_SKIP=( + stat64 # used to test for Large File Support +) + +S="${WORKDIR}"/${MY_P} + +PATCHES=( "${FILESDIR}"/${PN}-2.8.5-musl.patch ) + +src_prepare() { + default + + # Search for libs in libdir not just exec_prefix/lib + sed -i -e 's:${exec_prefix}/lib:${libdir}:' \ + aclocal.m4 || die "sed failed" + + sed -i -e "s/relid'/relid/" tclconfig/tcl.m4 || die + + eautoreconf +} + +src_configure() { + econf --with-tclinclude="${EPREFIX}/usr/include" \ + --with-tcl="${EPREFIX}/usr/$(get_libdir)" +} |