1 |
commit: 9238d1746ec952e1244d7ae0876c5260c79b371e |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 8 20:42:52 2020 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 8 20:42:52 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9238d174 |
7 |
|
8 |
dev-tcltk/tclx: bump to 8.4.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-tcltk/tclx/Manifest | 1 + |
14 |
dev-tcltk/tclx/tclx-8.4.4.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/dev-tcltk/tclx/Manifest b/dev-tcltk/tclx/Manifest |
18 |
index d5ea78ab5a5..3d1370b7510 100644 |
19 |
--- a/dev-tcltk/tclx/Manifest |
20 |
+++ b/dev-tcltk/tclx/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST tclx8.4.1.tar.bz2 330073 BLAKE2B bc9cd45945b1c9b945bcd139bfc52d42fc9bf1bf4251a8bb599ca6ee2b3804bc692aee6038a3cb84de82d24173473a57a8396fa598558f83237f1586cbe59b11 SHA512 faad58f5d8e0e1e759da639800f354b583fb01418c94f2274924aa07beb0ee9559beb87b3386ed5ae3694700a71dfe5b8ac54ead0ec75c6963507e9d3ead7060 |
23 |
+DIST v8.4.4.tar.gz 456569 BLAKE2B 50123f95ed780c28dae9e2f0db956b81b559ee9ea33563b999f33a727c451374a63c0cba3012d4dd46df020426c7fdb3b04f932fc5b6ec742156e9dad81a7d3b SHA512 dcf9cbd08eae0cc4901e8e871a440e6c85d7d5ac923306206afaf0a1d931866ce3b91177d7b3a37e87a5cdcccb068ed7b9c76cb1a71a13f4f26cf204b8c42090 |
24 |
|
25 |
diff --git a/dev-tcltk/tclx/tclx-8.4.4.ebuild b/dev-tcltk/tclx/tclx-8.4.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f669900497a |
28 |
--- /dev/null |
29 |
+++ b/dev-tcltk/tclx/tclx-8.4.4.ebuild |
30 |
@@ -0,0 +1,52 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit multilib |
37 |
+ |
38 |
+DESCRIPTION="A set of extensions to TCL" |
39 |
+HOMEPAGE="http://tclx.sourceforge.net" |
40 |
+SRC_URI="https://github.com/flightaware/${PN}/archive/v${PV}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+IUSE="threads" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" |
46 |
+ |
47 |
+DEPEND="dev-lang/tcl:0=" |
48 |
+RDEPEND="${DEPEND}" |
49 |
+ |
50 |
+# tests broken, bug #279283 |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+PATCHES=( |
54 |
+ "${FILESDIR}"/${PN}-8.4-varinit.patch |
55 |
+ "${FILESDIR}"/${PN}-8.4-ldflags.patch |
56 |
+) |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ sed \ |
60 |
+ -e '/CC=/s:-pipe::g' \ |
61 |
+ -i tclconfig/tcl.m4 configure || die |
62 |
+ default |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf \ |
67 |
+ $(use_enable threads) \ |
68 |
+ --enable-shared \ |
69 |
+ --with-tcl="${EPREFIX}/usr/$(get_libdir)/" |
70 |
+ |
71 |
+ # adjust install_name on darwin |
72 |
+ if [[ ${CHOST} == *-darwin* ]]; then |
73 |
+ sed -i \ |
74 |
+ -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name ${pkglibdir}/$@:' \ |
75 |
+ "${S}"/Makefile || die 'sed failed' |
76 |
+ fi |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ default |
81 |
+ doman doc/*.[n3] |
82 |
+} |