Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcl/files/, dev-lang/tcl/
Date: Mon, 29 Nov 2021 15:04:30
Message-Id: 1638198231.fcd477ff5ed5829bcd2b8e98ae939c0f1848b68e.asturm@gentoo
1 commit: fcd477ff5ed5829bcd2b8e98ae939c0f1848b68e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 26 09:32:27 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 15:03:51 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd477ff
7
8 dev-lang/tcl: Drop old
9
10 Closes: https://bugs.gentoo.org/806276
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 dev-lang/tcl/Manifest | 3 -
15 dev-lang/tcl/files/tcl-8.5.13-multilib.patch | 11 ---
16 dev-lang/tcl/files/tcl-8.6.8-libieee.patch | 15 ---
17 dev-lang/tcl/tcl-8.6.10.ebuild | 136 ---------------------------
18 dev-lang/tcl/tcl-8.6.8.ebuild | 130 -------------------------
19 dev-lang/tcl/tcl-8.6.9-r1.ebuild | 130 -------------------------
20 6 files changed, 425 deletions(-)
21
22 diff --git a/dev-lang/tcl/Manifest b/dev-lang/tcl/Manifest
23 index 516ddc4affd8..4ad0f947aed8 100644
24 --- a/dev-lang/tcl/Manifest
25 +++ b/dev-lang/tcl/Manifest
26 @@ -1,4 +1 @@
27 -DIST tcl-core8.6.10-src.tar.gz 6008840 BLAKE2B 592f708492e56da3577f190adc3da4f2979f32a570dfc29cb53fde58a83d804223dfe9527b76d094de3005a6e12dda73674573bab3af2e591b4573163b81b9c0 SHA512 de31ac8fc5226c831198af88befa05ccb1842dcfd209690e25b907f062033b3ae7a77bc12e85c4210ce85cfd7c598060e03fc81b0e624d422bfe4df655cc9068
28 DIST tcl-core8.6.11-src.tar.gz 6041050 BLAKE2B 9c41d5ae5d22627b903d18c5ca607d4a2647d7af65d3029a463cf571d3fbe0bd48e15fef643e81de94296777985a36530a83718d4eb7befca4bc107ab860cc0d SHA512 fe3556c37305e3856743e9a202a320d44b1b3cbc926a1b7a4449ae5baf2f8df92214a9aa06f0a87645d032857fb71458fc864ff007fd73da60463ae5001f2d3f
29 -DIST tcl-core8.6.8-src.tar.gz 5887483 BLAKE2B 2b8428652e451b817fe63a811f910001929cdcbc8a8361cdf4f7df8e13cbf9b18c94a91c22c0f09cc46dc0174a66c44774b485539a8f24c14faee6658547b6b8 SHA512 36e6079b582c205e8c89435b361ef96550541357f473aea2ca4e6f01bd84e50ebd1474a75a1ae90640b9a5b392fb01ddfa71f0fa28e409b3569d88c32b4ddb69
30 -DIST tcl-core8.6.9-src.tar.gz 5932010 BLAKE2B ddc0cff12aeeebbf8d1c799db9e154a9ecbe2a2e2afce97c6f15c408301b7a40119bd1c861aa724c178bd9abfe0616c7bcafd9cf6714ed49cf882c9085222cf3 SHA512 306a38a27729b764bae2eae6c4cdd8cd6aee5de6bd924d6a487c8691ee874e4459abc1fa785183c2f6ff4d2d57be98093dd7460c5a668cf994e8f1c31516ae67
31
32 diff --git a/dev-lang/tcl/files/tcl-8.5.13-multilib.patch b/dev-lang/tcl/files/tcl-8.5.13-multilib.patch
33 deleted file mode 100644
34 index 8c4bc7482189..000000000000
35 --- a/dev-lang/tcl/files/tcl-8.5.13-multilib.patch
36 +++ /dev/null
37 @@ -1,11 +0,0 @@
38 ---- a/unix/configure.in
39 -+++ b/unix/configure.in
40 -@@ -645,7 +645,7 @@
41 -
42 - eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
43 -
44 --TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
45 -+TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
46 - PRIVATE_INCLUDE_DIR='$(includedir)'
47 - HTML_DIR='$(DISTDIR)/html'
48 -
49
50 diff --git a/dev-lang/tcl/files/tcl-8.6.8-libieee.patch b/dev-lang/tcl/files/tcl-8.6.8-libieee.patch
51 deleted file mode 100644
52 index 942144e68c71..000000000000
53 --- a/dev-lang/tcl/files/tcl-8.6.8-libieee.patch
54 +++ /dev/null
55 @@ -1,15 +0,0 @@
56 ---- a/unix/tcl.m4
57 -+++ b/unix/tcl.m4
58 -@@ -2470,12 +2470,9 @@
59 - #--------------------------------------------------------------------
60 - # On a few very rare systems, all of the libm.a stuff is
61 - # already in libc.a. Set compiler flags accordingly.
62 -- # Also, Linux requires the "ieee" library for math to work
63 -- # right (and it must appear before "-lm").
64 - #--------------------------------------------------------------------
65 -
66 - AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm")
67 -- AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
68 -
69 - #--------------------------------------------------------------------
70 - # Interactive UNIX requires -linet instead of -lsocket, plus it
71
72 diff --git a/dev-lang/tcl/tcl-8.6.10.ebuild b/dev-lang/tcl/tcl-8.6.10.ebuild
73 deleted file mode 100644
74 index 99225a6e9f12..000000000000
75 --- a/dev-lang/tcl/tcl-8.6.10.ebuild
76 +++ /dev/null
77 @@ -1,136 +0,0 @@
78 -# Copyright 1999-2021 Gentoo Authors
79 -# Distributed under the terms of the GNU General Public License v2
80 -
81 -EAPI=7
82 -
83 -inherit autotools flag-o-matic multilib-minimal multilib toolchain-funcs
84 -
85 -MY_P="${PN}${PV}"
86 -
87 -DESCRIPTION="Tool Command Language"
88 -HOMEPAGE="http://www.tcl.tk/"
89 -SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz"
90 -
91 -LICENSE="tcltk"
92 -SLOT="0/8.6"
93 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
94 -IUSE="debug +threads"
95 -
96 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
97 -DEPEND="${RDEPEND}"
98 -
99 -SPARENT="${WORKDIR}/${MY_P}"
100 -S="${SPARENT}"/unix
101 -
102 -PATCHES=(
103 - "${FILESDIR}"/${P}-multilib.patch
104 - "${FILESDIR}"/${PN}-8.6.8-conf.patch # Bug 125971
105 - "${FILESDIR}"/${PN}-8.6.9-include-spec.patch # Bug 731120
106 -)
107 -
108 -src_prepare() {
109 - find \
110 - "${SPARENT}"/compat/* \
111 - "${SPARENT}"/doc/try.n \
112 - -delete || die
113 -
114 - pushd "${SPARENT}" &>/dev/null || die
115 - default
116 - popd &>/dev/null || die
117 -
118 - # httpold tests require netowk
119 - rm ../tests/httpold.test \
120 - ../tests/env.test \
121 - ../tests/http.test \
122 - || die
123 -
124 - # workaround stack check issues, bug #280934
125 - use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
126 -
127 - tc-export CC
128 -
129 - sed \
130 - -e '/chmod/s:555:755:g' \
131 - -i Makefile.in || die
132 -
133 - sed \
134 - -e 's:-O[2s]\?::g' \
135 - -i tcl.m4 || die
136 -
137 - mv configure.{in,ac} || die
138 -
139 - eautoconf
140 -
141 - multilib_copy_sources
142 -}
143 -
144 -multilib_src_configure() {
145 - # We went ahead and deleted the whole compat/ subdir which means
146 - # the configure tests to detect broken versions need to pass (else
147 - # we'll fail to build). This comes up when cross-compiling, but
148 - # might as well get a minor configure speed up normally.
149 - export ac_cv_func_memcmp_working="yes"
150 - export tcl_cv_str{str,toul,tod}_unbroken="ok"
151 - export tcl_cv_strtod_buggy="no"
152 -
153 - econf \
154 - $(use_enable threads) \
155 - $(use_enable debug symbols)
156 -}
157 -
158 -multilib_src_install() {
159 - #short version number
160 - local v1=$(ver_cut 1-2)
161 - local mylibdir=$(get_libdir)
162 -
163 - S= default
164 - # fix the tclConfig.sh to eliminate refs to the build directory
165 - # and drop unnecessary -L inclusion to default system libdir
166 -
167 - sed \
168 - -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
169 - -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
170 - -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
171 - -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
172 - -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
173 - -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
174 - -e "/^TCL_LIBW_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
175 - -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
176 - if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
177 - sed \
178 - -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
179 - -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
180 - -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
181 - fi
182 -
183 - # install private headers
184 - insinto /usr/${mylibdir}/tcl${v1}/include/unix
185 - doins *.h
186 - insinto /usr/${mylibdir}/tcl${v1}/include/generic
187 - doins "${SPARENT}"/generic/*.h
188 - rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die
189 -
190 - # install symlink for libraries
191 - dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
192 - dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
193 -
194 - if multilib_is_native_abi; then
195 - dosym tclsh${v1} /usr/bin/tclsh
196 - dodoc "${SPARENT}"/{ChangeLog*,README.md,changes}
197 - fi
198 -}
199 -
200 -pkg_postinst() {
201 - for version in ${REPLACING_VERSIONS}; do
202 - if ver_test 8.6 -lt ${version}; then
203 - echo
204 - ewarn "You're upgrading from <${P}, you must recompile the other"
205 - ewarn "packages on your system that link with tcl after the upgrade"
206 - ewarn "completes. To perform this action, please run revdep-rebuild"
207 - ewarn "in package app-portage/gentoolkit."
208 - ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
209 - ewarn "upgrade them before this recompilation, too,"
210 - echo
211 - fi
212 - done
213 -}
214
215 diff --git a/dev-lang/tcl/tcl-8.6.8.ebuild b/dev-lang/tcl/tcl-8.6.8.ebuild
216 deleted file mode 100644
217 index 600b8c11d083..000000000000
218 --- a/dev-lang/tcl/tcl-8.6.8.ebuild
219 +++ /dev/null
220 @@ -1,130 +0,0 @@
221 -# Copyright 1999-2021 Gentoo Authors
222 -# Distributed under the terms of the GNU General Public License v2
223 -
224 -EAPI=6
225 -
226 -inherit autotools flag-o-matic multilib multilib-minimal toolchain-funcs versionator
227 -
228 -MY_P="${PN}${PV}"
229 -
230 -DESCRIPTION="Tool Command Language"
231 -HOMEPAGE="http://www.tcl.tk/"
232 -SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz"
233 -
234 -LICENSE="tcltk"
235 -SLOT="0/8.6"
236 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
237 -IUSE="debug +threads"
238 -
239 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
240 -DEPEND="${RDEPEND}"
241 -
242 -SPARENT="${WORKDIR}/${MY_P}"
243 -S="${SPARENT}"/unix
244 -
245 -PATCHES=(
246 - "${FILESDIR}"/${PN}-8.5.13-multilib.patch
247 - "${FILESDIR}"/${PN}-8.6.8-conf.patch # Bug 125971
248 - "${FILESDIR}"/${PN}-8.6.8-libieee.patch
249 -)
250 -
251 -src_prepare() {
252 - find \
253 - "${SPARENT}"/compat/* \
254 - "${SPARENT}"/doc/try.n \
255 - -delete || die
256 -
257 - pushd "${SPARENT}" &>/dev/null || die
258 - default
259 - popd &>/dev/null || die
260 -
261 - # workaround stack check issues, bug #280934
262 - use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
263 -
264 - tc-export CC
265 -
266 - sed \
267 - -e '/chmod/s:555:755:g' \
268 - -i Makefile.in || die
269 -
270 - sed \
271 - -e 's:-O[2s]\?::g' \
272 - -i tcl.m4 || die
273 -
274 - mv configure.{in,ac} || die
275 -
276 - eautoconf
277 -
278 - multilib_copy_sources
279 -}
280 -
281 -multilib_src_configure() {
282 - # We went ahead and deleted the whole compat/ subdir which means
283 - # the configure tests to detect broken versions need to pass (else
284 - # we'll fail to build). This comes up when cross-compiling, but
285 - # might as well get a minor configure speed up normally.
286 - export ac_cv_func_memcmp_working="yes"
287 - export tcl_cv_str{str,toul,tod}_unbroken="ok"
288 - export tcl_cv_strtod_buggy="no"
289 -
290 - econf \
291 - $(use_enable threads) \
292 - $(use_enable debug symbols)
293 -}
294 -
295 -multilib_src_install() {
296 - #short version number
297 - local v1=$(get_version_component_range 1-2)
298 - local mylibdir=$(get_libdir)
299 -
300 - S= default
301 - # fix the tclConfig.sh to eliminate refs to the build directory
302 - # and drop unnecessary -L inclusion to default system libdir
303 -
304 - sed \
305 - -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
306 - -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
307 - -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
308 - -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
309 - -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
310 - -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
311 - -e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
312 - -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
313 - if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
314 - sed \
315 - -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
316 - -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
317 - -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
318 - fi
319 -
320 - # install private headers
321 - insinto /usr/${mylibdir}/tcl${v1}/include/unix
322 - doins *.h
323 - insinto /usr/${mylibdir}/tcl${v1}/include/generic
324 - doins "${SPARENT}"/generic/*.h
325 - rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die
326 -
327 - # install symlink for libraries
328 - dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
329 - dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
330 -
331 - if multilib_is_native_abi; then
332 - dosym tclsh${v1} /usr/bin/tclsh
333 - dodoc "${SPARENT}"/{ChangeLog*,README,changes}
334 - fi
335 -}
336 -
337 -pkg_postinst() {
338 - for version in ${REPLACING_VERSIONS}; do
339 - if ! version_is_at_least 8.6 ${version}; then
340 - echo
341 - ewarn "You're upgrading from <${P}, you must recompile the other"
342 - ewarn "packages on your system that link with tcl after the upgrade"
343 - ewarn "completes. To perform this action, please run revdep-rebuild"
344 - ewarn "in package app-portage/gentoolkit."
345 - ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
346 - ewarn "upgrade them before this recompilation, too,"
347 - echo
348 - fi
349 - done
350 -}
351
352 diff --git a/dev-lang/tcl/tcl-8.6.9-r1.ebuild b/dev-lang/tcl/tcl-8.6.9-r1.ebuild
353 deleted file mode 100644
354 index 2fd2366a6e03..000000000000
355 --- a/dev-lang/tcl/tcl-8.6.9-r1.ebuild
356 +++ /dev/null
357 @@ -1,130 +0,0 @@
358 -# Copyright 1999-2021 Gentoo Authors
359 -# Distributed under the terms of the GNU General Public License v2
360 -
361 -EAPI=7
362 -
363 -inherit autotools flag-o-matic multilib-minimal multilib toolchain-funcs
364 -
365 -MY_P="${PN}${PV}"
366 -
367 -DESCRIPTION="Tool Command Language"
368 -HOMEPAGE="http://www.tcl.tk/"
369 -SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz"
370 -
371 -LICENSE="tcltk"
372 -SLOT="0/8.6"
373 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
374 -IUSE="debug +threads"
375 -
376 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
377 -DEPEND="${RDEPEND}"
378 -
379 -SPARENT="${WORKDIR}/${MY_P}"
380 -S="${SPARENT}"/unix
381 -
382 -PATCHES=(
383 - "${FILESDIR}"/${PN}-8.5.13-multilib.patch
384 - "${FILESDIR}"/${PN}-8.6.8-conf.patch # Bug 125971
385 - "${FILESDIR}"/${PN}-8.6.9-include-spec.patch # Bug 731120
386 -)
387 -
388 -src_prepare() {
389 - find \
390 - "${SPARENT}"/compat/* \
391 - "${SPARENT}"/doc/try.n \
392 - -delete || die
393 -
394 - pushd "${SPARENT}" &>/dev/null || die
395 - default
396 - popd &>/dev/null || die
397 -
398 - # workaround stack check issues, bug #280934
399 - use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
400 -
401 - tc-export CC
402 -
403 - sed \
404 - -e '/chmod/s:555:755:g' \
405 - -i Makefile.in || die
406 -
407 - sed \
408 - -e 's:-O[2s]\?::g' \
409 - -i tcl.m4 || die
410 -
411 - mv configure.{in,ac} || die
412 -
413 - eautoconf
414 -
415 - multilib_copy_sources
416 -}
417 -
418 -multilib_src_configure() {
419 - # We went ahead and deleted the whole compat/ subdir which means
420 - # the configure tests to detect broken versions need to pass (else
421 - # we'll fail to build). This comes up when cross-compiling, but
422 - # might as well get a minor configure speed up normally.
423 - export ac_cv_func_memcmp_working="yes"
424 - export tcl_cv_str{str,toul,tod}_unbroken="ok"
425 - export tcl_cv_strtod_buggy="no"
426 -
427 - econf \
428 - $(use_enable threads) \
429 - $(use_enable debug symbols)
430 -}
431 -
432 -multilib_src_install() {
433 - #short version number
434 - local v1=$(ver_cut 1-2)
435 - local mylibdir=$(get_libdir)
436 -
437 - S= default
438 - # fix the tclConfig.sh to eliminate refs to the build directory
439 - # and drop unnecessary -L inclusion to default system libdir
440 -
441 - sed \
442 - -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
443 - -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
444 - -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
445 - -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
446 - -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
447 - -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
448 - -e "/^TCL_LIBW_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
449 - -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
450 - if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
451 - sed \
452 - -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
453 - -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
454 - -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
455 - fi
456 -
457 - # install private headers
458 - insinto /usr/${mylibdir}/tcl${v1}/include/unix
459 - doins *.h
460 - insinto /usr/${mylibdir}/tcl${v1}/include/generic
461 - doins "${SPARENT}"/generic/*.h
462 - rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die
463 -
464 - # install symlink for libraries
465 - dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
466 - dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
467 -
468 - if multilib_is_native_abi; then
469 - dosym tclsh${v1} /usr/bin/tclsh
470 - dodoc "${SPARENT}"/{ChangeLog*,README,changes}
471 - fi
472 -}
473 -
474 -pkg_postinst() {
475 - for version in ${REPLACING_VERSIONS}; do
476 - if ver_test 8.6 -lt ${version}; then
477 - echo
478 - ewarn "You're upgrading from <${P}, you must recompile the other"
479 - ewarn "packages on your system that link with tcl after the upgrade"
480 - ewarn "completes. To perform this action, please run revdep-rebuild"
481 - ewarn "in package app-portage/gentoolkit."
482 - ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
483 - ewarn "upgrade them before this recompilation, too,"
484 - echo
485 - fi
486 - done
487 -}