diff options
author | 2024-03-11 11:17:59 +0100 | |
---|---|---|
committer | 2024-03-11 11:18:20 +0100 | |
commit | 4d9f4f53dbce7494b5a8c750bfb3acc4c57959af (patch) | |
tree | f3f6d0ebb157fe03f4aece4172c54a635e080d06 /dev-tcltk | |
parent | media-sound/guitarix: fixed project email (diff) | |
download | gentoo-4d9f4f53dbce7494b5a8c750bfb3acc4c57959af.tar.gz gentoo-4d9f4f53dbce7494b5a8c750bfb3acc4c57959af.tar.bz2 gentoo-4d9f4f53dbce7494b5a8c750bfb3acc4c57959af.zip |
dev-tcltk/thread: update SRC_URI
Closes: https://bugs.gentoo.org/926696
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/thread/Manifest | 1 | ||||
-rw-r--r-- | dev-tcltk/thread/thread-2.8.9.ebuild | 20 |
2 files changed, 20 insertions, 1 deletions
diff --git a/dev-tcltk/thread/Manifest b/dev-tcltk/thread/Manifest index 9a18378f6f9e..54a772c8f25f 100644 --- a/dev-tcltk/thread/Manifest +++ b/dev-tcltk/thread/Manifest @@ -1,3 +1,4 @@ +DIST tclconfig-2023.12.11.tar.gz 49691 BLAKE2B 53bb91d125fd080b79ac83af1053d8bb981a8e917b7c8e4db71da89c43263d75a9604623a85d560bcbf3d686f61ccf21bffd794d333aa6cb35c959ab3042991d SHA512 c4eaa31ca1ec585536cd6d31a548b347dae3167197433674d2f3912ce85bad00dda55b0c60eebf26cb5f9d651c8437688e1829f7d3996a22bba2d93e4538946c DIST thread-2-8-9.tar.gz 322166 BLAKE2B d7b1f61048ff7ef2276ab0ed2e72054267f75cf32cc705b2de6e27fd80ffde08e55a7386976d1c6159c5085686f1b534434c9a7cae504feedb91a9bc8bcff69f SHA512 b3f781b2b522a1c184e071c003a2b20ef0615668c56ffd2f6680890f36b106ded051d411547cb6b1afd7e9389e09b5cc67e68bfd79cc95ea06a0e2ee71c2e433 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.9.ebuild b/dev-tcltk/thread/thread-2.8.9.ebuild index d17e1037fa84..7a5750ff4138 100644 --- a/dev-tcltk/thread/thread-2.8.9.ebuild +++ b/dev-tcltk/thread/thread-2.8.9.ebuild @@ -3,11 +3,18 @@ EAPI=8 +inherit autotools + MY_P="${PN}-$(ver_rs 0- '-')" +TCLCONFIGId=4a924db4fb37fa0c7cc2ae987b294dbaa97bc713 DESCRIPTION="Tcl Thread extension" HOMEPAGE="http://www.tcl.tk/" -SRC_URI="https://github.com/tcltk/${PN}/archive/refs/tags/${MY_P}.tar.gz" +SRC_URI=" + https://github.com/tcltk/${PN}/archive/refs/tags/${MY_P}.tar.gz + https://github.com/tcltk/tclconfig/archive/${TCLCONFIGId}.tar.gz + -> tclconfig-2023.12.11.tar.gz +" LICENSE="BSD" SLOT="0" @@ -24,6 +31,17 @@ S="${WORKDIR}"/${PN}-${MY_P} PATCHES=( "${FILESDIR}"/${PN}-2.8.5-musl.patch ) +src_prepare() { + ln -s ../tclconfig-${TCLCONFIGId} tclconfig || die + default + + # Search for libs in libdir not just exec_prefix/lib + sed -i -e 's:${exec_prefix}/lib:${libdir}:' \ + aclocal.m4 || die "sed failed" + + eautoreconf +} + src_configure() { econf --with-tclinclude="${EPREFIX}/usr/include" \ --with-tcl="${EPREFIX}/usr/$(get_libdir)" |