1 |
commit: 7c626e2b33ceca9273df45dfb8f4853fb52c7abc |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 20 16:09:28 2018 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 20 16:09:28 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c626e2b |
7 |
|
8 |
dev-lang/tcl: Remove old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/648570 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
13 |
|
14 |
dev-lang/tcl/Manifest | 3 - |
15 |
dev-lang/tcl/tcl-8.6.5.ebuild | 131 ----------------------------------------- |
16 |
dev-lang/tcl/tcl-8.6.6.ebuild | 133 ------------------------------------------ |
17 |
dev-lang/tcl/tcl-8.6.7.ebuild | 131 ----------------------------------------- |
18 |
4 files changed, 398 deletions(-) |
19 |
|
20 |
diff --git a/dev-lang/tcl/Manifest b/dev-lang/tcl/Manifest |
21 |
index d0809e4c587..b0bf6cf4b7c 100644 |
22 |
--- a/dev-lang/tcl/Manifest |
23 |
+++ b/dev-lang/tcl/Manifest |
24 |
@@ -1,5 +1,2 @@ |
25 |
-DIST tcl-core8.6.5-src.tar.gz 5846556 BLAKE2B 9c3c48acffc13be526b507fc19711b21e710a84642d37d494bb46a2d4ac9445a95749fd9556ffbda57d55f90bd566d0c9cd72a800a34f062616aacf57e811aa4 SHA512 b726f7d3193ad92ba64911b8c724d5454c5a93d5f5e95462ec0a6d8ccbbdf20093888f66c83956d7631392ca805c1a80430f102c0a932de3ed55311101e0e09f |
26 |
-DIST tcl-core8.6.6-src.tar.gz 5868427 BLAKE2B 3444d474bfdc4958919dbf75527420614251e3cffb0d18fbbf547ffb83ead544f266b6ea868738ae40e02075cf31be6e753e0f89da02a2a81ededf09fc9dd2e6 SHA512 469a0221ed16569b70986cdde261d0c0df3bf64c493b8d6fc8368eb14597f7c2f6a01f082a1c8f27eb720618956e053cc97fbb9aaf7bb29cc96781cdc8e9518c |
27 |
-DIST tcl-core8.6.7-src.tar.gz 5875027 BLAKE2B bc08e4e6639ba33176c8c1e670b957b8ad62a4790ace4ff8f8dc964f676ca87473c31c28f645d32a8287f844756fa224a077f96f1425f61b9872a4a0ae1429a1 SHA512 95c8c5bcb4fe604a77ca6ba9d49f9e90d156feaa9f3ab97661983f256ab54476b103ec8de01cd47231ed95e6df5e36d60514aed2ba5b8f3619cc5a3698ad3ee5 |
28 |
DIST tcl-core8.6.8-src.tar.gz 5887483 BLAKE2B 2b8428652e451b817fe63a811f910001929cdcbc8a8361cdf4f7df8e13cbf9b18c94a91c22c0f09cc46dc0174a66c44774b485539a8f24c14faee6658547b6b8 SHA512 36e6079b582c205e8c89435b361ef96550541357f473aea2ca4e6f01bd84e50ebd1474a75a1ae90640b9a5b392fb01ddfa71f0fa28e409b3569d88c32b4ddb69 |
29 |
DIST tcl8.5.17-src.tar.gz 4546317 BLAKE2B 27031dd3bd5790d03692e77edf91eb7fae8a40d8d193d8c8ce4e79b21f90e683bfc9d5b71764760223987fb163be844e6096d0aea1058b8ce255731d97e2a0ea SHA512 ad5ddb4cd6378fd6bbea8cd85ceb1cf90392b2e8c49fbfb3e4b35c81d3ae3e3f087697c41fcba8c8e06de1d9e7539397e26d58b864dc01ba65abe4ba4efa9568 |
30 |
|
31 |
diff --git a/dev-lang/tcl/tcl-8.6.5.ebuild b/dev-lang/tcl/tcl-8.6.5.ebuild |
32 |
deleted file mode 100644 |
33 |
index e76f93f75ed..00000000000 |
34 |
--- a/dev-lang/tcl/tcl-8.6.5.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,131 +0,0 @@ |
37 |
-# Copyright 1999-2018 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=6 |
41 |
- |
42 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
43 |
- |
44 |
-MY_P="${PN}${PV}" |
45 |
- |
46 |
-DESCRIPTION="Tool Command Language" |
47 |
-HOMEPAGE="http://www.tcl.tk/" |
48 |
-SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz" |
49 |
- |
50 |
-LICENSE="tcltk" |
51 |
-SLOT="0/8.6" |
52 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
53 |
-IUSE="debug +threads" |
54 |
- |
55 |
-RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]" |
56 |
-DEPEND="${RDEPEND}" |
57 |
- |
58 |
-SPARENT="${WORKDIR}/${MY_P}" |
59 |
-S="${SPARENT}"/unix |
60 |
- |
61 |
-PATCHES=( |
62 |
- "${FILESDIR}"/${PN}-8.5.13-multilib.patch |
63 |
- |
64 |
- # Bug 125971 |
65 |
- "${FILESDIR}"/${PN}-8.5.14-conf.patch |
66 |
-) |
67 |
- |
68 |
-src_prepare() { |
69 |
- find \ |
70 |
- "${SPARENT}"/compat/* \ |
71 |
- "${SPARENT}"/doc/try.n \ |
72 |
- -delete || die |
73 |
- |
74 |
- pushd "${SPARENT}" &>/dev/null || die |
75 |
- default |
76 |
- popd &>/dev/null || die |
77 |
- |
78 |
- # workaround stack check issues, bug #280934 |
79 |
- use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1" |
80 |
- |
81 |
- tc-export CC |
82 |
- |
83 |
- sed \ |
84 |
- -e '/chmod/s:555:755:g' \ |
85 |
- -i Makefile.in || die |
86 |
- |
87 |
- sed \ |
88 |
- -e 's:-O[2s]\?::g' \ |
89 |
- -i tcl.m4 || die |
90 |
- |
91 |
- mv configure.{in,ac} || die |
92 |
- |
93 |
- eautoconf |
94 |
- |
95 |
- multilib_copy_sources |
96 |
-} |
97 |
- |
98 |
-multilib_src_configure() { |
99 |
- # We went ahead and deleted the whole compat/ subdir which means |
100 |
- # the configure tests to detect broken versions need to pass (else |
101 |
- # we'll fail to build). This comes up when cross-compiling, but |
102 |
- # might as well get a minor configure speed up normally. |
103 |
- export ac_cv_func_memcmp_working="yes" |
104 |
- export tcl_cv_str{str,toul,tod}_unbroken="ok" |
105 |
- export tcl_cv_strtod_buggy="no" |
106 |
- |
107 |
- econf \ |
108 |
- $(use_enable threads) \ |
109 |
- $(use_enable debug symbols) |
110 |
-} |
111 |
- |
112 |
-multilib_src_install() { |
113 |
- #short version number |
114 |
- local v1=$(get_version_component_range 1-2) |
115 |
- local mylibdir=$(get_libdir) |
116 |
- |
117 |
- S= default |
118 |
- # fix the tclConfig.sh to eliminate refs to the build directory |
119 |
- # and drop unnecessary -L inclusion to default system libdir |
120 |
- |
121 |
- sed \ |
122 |
- -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \ |
123 |
- -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
124 |
- -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \ |
125 |
- -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \ |
126 |
- -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
127 |
- -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \ |
128 |
- -e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \ |
129 |
- -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die |
130 |
- if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then |
131 |
- sed \ |
132 |
- -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ |
133 |
- -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ |
134 |
- -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die |
135 |
- fi |
136 |
- |
137 |
- # install private headers |
138 |
- insinto /usr/${mylibdir}/tcl${v1}/include/unix |
139 |
- doins *.h |
140 |
- insinto /usr/${mylibdir}/tcl${v1}/include/generic |
141 |
- doins "${SPARENT}"/generic/*.h |
142 |
- rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die |
143 |
- |
144 |
- # install symlink for libraries |
145 |
- dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname) |
146 |
- dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a |
147 |
- |
148 |
- if multilib_is_native_abi; then |
149 |
- dosym tclsh${v1} /usr/bin/tclsh |
150 |
- dodoc "${SPARENT}"/{ChangeLog*,README,changes} |
151 |
- fi |
152 |
-} |
153 |
- |
154 |
-pkg_postinst() { |
155 |
- for version in ${REPLACING_VERSIONS}; do |
156 |
- if ! version_is_at_least 8.6 ${version}; then |
157 |
- echo |
158 |
- ewarn "You're upgrading from <${P}, you must recompile the other" |
159 |
- ewarn "packages on your system that link with tcl after the upgrade" |
160 |
- ewarn "completes. To perform this action, please run revdep-rebuild" |
161 |
- ewarn "in package app-portage/gentoolkit." |
162 |
- ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should" |
163 |
- ewarn "upgrade them before this recompilation, too," |
164 |
- echo |
165 |
- fi |
166 |
- done |
167 |
-} |
168 |
|
169 |
diff --git a/dev-lang/tcl/tcl-8.6.6.ebuild b/dev-lang/tcl/tcl-8.6.6.ebuild |
170 |
deleted file mode 100644 |
171 |
index ddba72845ae..00000000000 |
172 |
--- a/dev-lang/tcl/tcl-8.6.6.ebuild |
173 |
+++ /dev/null |
174 |
@@ -1,133 +0,0 @@ |
175 |
-# Copyright 1999-2018 Gentoo Foundation |
176 |
-# Distributed under the terms of the GNU General Public License v2 |
177 |
- |
178 |
-EAPI=6 |
179 |
- |
180 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
181 |
- |
182 |
-MY_P="${PN}${PV}" |
183 |
- |
184 |
-DESCRIPTION="Tool Command Language" |
185 |
-HOMEPAGE="http://www.tcl.tk/" |
186 |
-SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz" |
187 |
- |
188 |
-LICENSE="tcltk" |
189 |
-SLOT="0/8.6" |
190 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
191 |
-IUSE="debug +threads" |
192 |
- |
193 |
-RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]" |
194 |
-DEPEND="${RDEPEND}" |
195 |
-# Bug 629680: need to disable testing since network-sandbox creates false negatives |
196 |
-RESTRICT="test" |
197 |
- |
198 |
-SPARENT="${WORKDIR}/${MY_P}" |
199 |
-S="${SPARENT}"/unix |
200 |
- |
201 |
-PATCHES=( |
202 |
- "${FILESDIR}"/${PN}-8.5.13-multilib.patch |
203 |
- |
204 |
- # Bug 125971 |
205 |
- "${FILESDIR}"/${PN}-8.5.14-conf.patch |
206 |
-) |
207 |
- |
208 |
-src_prepare() { |
209 |
- find \ |
210 |
- "${SPARENT}"/compat/* \ |
211 |
- "${SPARENT}"/doc/try.n \ |
212 |
- -delete || die |
213 |
- |
214 |
- pushd "${SPARENT}" &>/dev/null || die |
215 |
- default |
216 |
- popd &>/dev/null || die |
217 |
- |
218 |
- # workaround stack check issues, bug #280934 |
219 |
- use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1" |
220 |
- |
221 |
- tc-export CC |
222 |
- |
223 |
- sed \ |
224 |
- -e '/chmod/s:555:755:g' \ |
225 |
- -i Makefile.in || die |
226 |
- |
227 |
- sed \ |
228 |
- -e 's:-O[2s]\?::g' \ |
229 |
- -i tcl.m4 || die |
230 |
- |
231 |
- mv configure.{in,ac} || die |
232 |
- |
233 |
- eautoconf |
234 |
- |
235 |
- multilib_copy_sources |
236 |
-} |
237 |
- |
238 |
-multilib_src_configure() { |
239 |
- # We went ahead and deleted the whole compat/ subdir which means |
240 |
- # the configure tests to detect broken versions need to pass (else |
241 |
- # we'll fail to build). This comes up when cross-compiling, but |
242 |
- # might as well get a minor configure speed up normally. |
243 |
- export ac_cv_func_memcmp_working="yes" |
244 |
- export tcl_cv_str{str,toul,tod}_unbroken="ok" |
245 |
- export tcl_cv_strtod_buggy="no" |
246 |
- |
247 |
- econf \ |
248 |
- $(use_enable threads) \ |
249 |
- $(use_enable debug symbols) |
250 |
-} |
251 |
- |
252 |
-multilib_src_install() { |
253 |
- #short version number |
254 |
- local v1=$(get_version_component_range 1-2) |
255 |
- local mylibdir=$(get_libdir) |
256 |
- |
257 |
- S= default |
258 |
- # fix the tclConfig.sh to eliminate refs to the build directory |
259 |
- # and drop unnecessary -L inclusion to default system libdir |
260 |
- |
261 |
- sed \ |
262 |
- -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \ |
263 |
- -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
264 |
- -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \ |
265 |
- -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \ |
266 |
- -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
267 |
- -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \ |
268 |
- -e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \ |
269 |
- -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die |
270 |
- if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then |
271 |
- sed \ |
272 |
- -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ |
273 |
- -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ |
274 |
- -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die |
275 |
- fi |
276 |
- |
277 |
- # install private headers |
278 |
- insinto /usr/${mylibdir}/tcl${v1}/include/unix |
279 |
- doins *.h |
280 |
- insinto /usr/${mylibdir}/tcl${v1}/include/generic |
281 |
- doins "${SPARENT}"/generic/*.h |
282 |
- rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die |
283 |
- |
284 |
- # install symlink for libraries |
285 |
- dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname) |
286 |
- dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a |
287 |
- |
288 |
- if multilib_is_native_abi; then |
289 |
- dosym tclsh${v1} /usr/bin/tclsh |
290 |
- dodoc "${SPARENT}"/{ChangeLog*,README,changes} |
291 |
- fi |
292 |
-} |
293 |
- |
294 |
-pkg_postinst() { |
295 |
- for version in ${REPLACING_VERSIONS}; do |
296 |
- if ! version_is_at_least 8.6 ${version}; then |
297 |
- echo |
298 |
- ewarn "You're upgrading from <${P}, you must recompile the other" |
299 |
- ewarn "packages on your system that link with tcl after the upgrade" |
300 |
- ewarn "completes. To perform this action, please run revdep-rebuild" |
301 |
- ewarn "in package app-portage/gentoolkit." |
302 |
- ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should" |
303 |
- ewarn "upgrade them before this recompilation, too," |
304 |
- echo |
305 |
- fi |
306 |
- done |
307 |
-} |
308 |
|
309 |
diff --git a/dev-lang/tcl/tcl-8.6.7.ebuild b/dev-lang/tcl/tcl-8.6.7.ebuild |
310 |
deleted file mode 100644 |
311 |
index 4240a4a8102..00000000000 |
312 |
--- a/dev-lang/tcl/tcl-8.6.7.ebuild |
313 |
+++ /dev/null |
314 |
@@ -1,131 +0,0 @@ |
315 |
-# Copyright 1999-2018 Gentoo Foundation |
316 |
-# Distributed under the terms of the GNU General Public License v2 |
317 |
- |
318 |
-EAPI=6 |
319 |
- |
320 |
-inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator |
321 |
- |
322 |
-MY_P="${PN}${PV}" |
323 |
- |
324 |
-DESCRIPTION="Tool Command Language" |
325 |
-HOMEPAGE="http://www.tcl.tk/" |
326 |
-SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz" |
327 |
- |
328 |
-LICENSE="tcltk" |
329 |
-SLOT="0/8.6" |
330 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
331 |
-IUSE="debug +threads" |
332 |
- |
333 |
-RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]" |
334 |
-DEPEND="${RDEPEND}" |
335 |
- |
336 |
-SPARENT="${WORKDIR}/${MY_P}" |
337 |
-S="${SPARENT}"/unix |
338 |
- |
339 |
-PATCHES=( |
340 |
- "${FILESDIR}"/${PN}-8.5.13-multilib.patch |
341 |
- |
342 |
- # Bug 125971 |
343 |
- "${FILESDIR}"/${PN}-8.5.14-conf.patch |
344 |
-) |
345 |
- |
346 |
-src_prepare() { |
347 |
- find \ |
348 |
- "${SPARENT}"/compat/* \ |
349 |
- "${SPARENT}"/doc/try.n \ |
350 |
- -delete || die |
351 |
- |
352 |
- pushd "${SPARENT}" &>/dev/null || die |
353 |
- default |
354 |
- popd &>/dev/null || die |
355 |
- |
356 |
- # workaround stack check issues, bug #280934 |
357 |
- use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1" |
358 |
- |
359 |
- tc-export CC |
360 |
- |
361 |
- sed \ |
362 |
- -e '/chmod/s:555:755:g' \ |
363 |
- -i Makefile.in || die |
364 |
- |
365 |
- sed \ |
366 |
- -e 's:-O[2s]\?::g' \ |
367 |
- -i tcl.m4 || die |
368 |
- |
369 |
- mv configure.{in,ac} || die |
370 |
- |
371 |
- eautoconf |
372 |
- |
373 |
- multilib_copy_sources |
374 |
-} |
375 |
- |
376 |
-multilib_src_configure() { |
377 |
- # We went ahead and deleted the whole compat/ subdir which means |
378 |
- # the configure tests to detect broken versions need to pass (else |
379 |
- # we'll fail to build). This comes up when cross-compiling, but |
380 |
- # might as well get a minor configure speed up normally. |
381 |
- export ac_cv_func_memcmp_working="yes" |
382 |
- export tcl_cv_str{str,toul,tod}_unbroken="ok" |
383 |
- export tcl_cv_strtod_buggy="no" |
384 |
- |
385 |
- econf \ |
386 |
- $(use_enable threads) \ |
387 |
- $(use_enable debug symbols) |
388 |
-} |
389 |
- |
390 |
-multilib_src_install() { |
391 |
- #short version number |
392 |
- local v1=$(get_version_component_range 1-2) |
393 |
- local mylibdir=$(get_libdir) |
394 |
- |
395 |
- S= default |
396 |
- # fix the tclConfig.sh to eliminate refs to the build directory |
397 |
- # and drop unnecessary -L inclusion to default system libdir |
398 |
- |
399 |
- sed \ |
400 |
- -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \ |
401 |
- -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
402 |
- -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \ |
403 |
- -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \ |
404 |
- -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
405 |
- -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \ |
406 |
- -e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \ |
407 |
- -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die |
408 |
- if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then |
409 |
- sed \ |
410 |
- -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ |
411 |
- -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ |
412 |
- -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die |
413 |
- fi |
414 |
- |
415 |
- # install private headers |
416 |
- insinto /usr/${mylibdir}/tcl${v1}/include/unix |
417 |
- doins *.h |
418 |
- insinto /usr/${mylibdir}/tcl${v1}/include/generic |
419 |
- doins "${SPARENT}"/generic/*.h |
420 |
- rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die |
421 |
- |
422 |
- # install symlink for libraries |
423 |
- dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname) |
424 |
- dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a |
425 |
- |
426 |
- if multilib_is_native_abi; then |
427 |
- dosym tclsh${v1} /usr/bin/tclsh |
428 |
- dodoc "${SPARENT}"/{ChangeLog*,README,changes} |
429 |
- fi |
430 |
-} |
431 |
- |
432 |
-pkg_postinst() { |
433 |
- for version in ${REPLACING_VERSIONS}; do |
434 |
- if ! version_is_at_least 8.6 ${version}; then |
435 |
- echo |
436 |
- ewarn "You're upgrading from <${P}, you must recompile the other" |
437 |
- ewarn "packages on your system that link with tcl after the upgrade" |
438 |
- ewarn "completes. To perform this action, please run revdep-rebuild" |
439 |
- ewarn "in package app-portage/gentoolkit." |
440 |
- ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should" |
441 |
- ewarn "upgrade them before this recompilation, too," |
442 |
- echo |
443 |
- fi |
444 |
- done |
445 |
-} |