Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-lang/tcl/files/, dev-lang/tcl/, dev-lang/tk/files/, dev-lang/tk/
Date: Wed, 12 Jan 2022 11:46:09
Message-Id: 1641987933.98a84b1ee9dfe8e5dfb204aed4697895d3e8aa33.andrewammerlaan@gentoo
1 commit: 98a84b1ee9dfe8e5dfb204aed4697895d3e8aa33
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 12 11:45:33 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 12 11:45:33 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=98a84b1e
7
8 dev-lang/{tcl,tk}: cleanup old
9
10 no longer required for brlcad
11
12 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
13
14 dev-lang/tcl/files/tcl-8.5.13-multilib.patch | 11 ---
15 dev-lang/tcl/files/tcl-8.5.14-conf.patch | 11 ---
16 dev-lang/tcl/files/tcl-8.6.8-libieee.patch | 15 ----
17 dev-lang/tcl/metadata.xml | 11 ---
18 dev-lang/tcl/tcl-8.5.17-r1.ebuild | 117 ------------------------
19 dev-lang/tk/files/tk-8.4.15-aqua.patch | 11 ---
20 dev-lang/tk/files/tk-8.5.11-fedora-xft.patch | 13 ---
21 dev-lang/tk/files/tk-8.5.13-multilib.patch | 12 ---
22 dev-lang/tk/files/tk-8.5.14-conf.patch | 16 ----
23 dev-lang/tk/files/tk-8.6.8-libieee.patch | 15 ----
24 dev-lang/tk/metadata.xml | 11 ---
25 dev-lang/tk/tk-8.5.17-r1.ebuild | 128 ---------------------------
26 12 files changed, 371 deletions(-)
27
28 diff --git a/dev-lang/tcl/files/tcl-8.5.13-multilib.patch b/dev-lang/tcl/files/tcl-8.5.13-multilib.patch
29 deleted file mode 100644
30 index 82f5fa031..000000000
31 --- a/dev-lang/tcl/files/tcl-8.5.13-multilib.patch
32 +++ /dev/null
33 @@ -1,11 +0,0 @@
34 ---- a/configure.in
35 -+++ b/configure.in
36 -@@ -645,7 +645,7 @@
37 -
38 - eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
39 -
40 --TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
41 -+TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
42 - PRIVATE_INCLUDE_DIR='$(includedir)'
43 - HTML_DIR='$(DISTDIR)/html'
44 -
45
46 diff --git a/dev-lang/tcl/files/tcl-8.5.14-conf.patch b/dev-lang/tcl/files/tcl-8.5.14-conf.patch
47 deleted file mode 100644
48 index ffd9f6fea..000000000
49 --- a/dev-lang/tcl/files/tcl-8.5.14-conf.patch
50 +++ /dev/null
51 @@ -1,11 +0,0 @@
52 ---- a/tcl.m4
53 -+++ b/tcl.m4
54 -@@ -1427,7 +1427,7 @@ dnl AC_CHECK_TOOL(AR, ar)
55 - # get rid of the warnings.
56 - #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
57 -
58 -- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
59 -+ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -fPIC -Wl,-soname,${@}'
60 - DL_OBJS="tclLoadDl.o"
61 - DL_LIBS="-ldl"
62 - LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
63
64 diff --git a/dev-lang/tcl/files/tcl-8.6.8-libieee.patch b/dev-lang/tcl/files/tcl-8.6.8-libieee.patch
65 deleted file mode 100644
66 index e7c1f5aae..000000000
67 --- a/dev-lang/tcl/files/tcl-8.6.8-libieee.patch
68 +++ /dev/null
69 @@ -1,15 +0,0 @@
70 ---- a/tcl.m4
71 -+++ b/tcl.m4
72 -@@ -2470,12 +2470,9 @@
73 - #--------------------------------------------------------------------
74 - # On a few very rare systems, all of the libm.a stuff is
75 - # already in libc.a. Set compiler flags accordingly.
76 -- # Also, Linux requires the "ieee" library for math to work
77 -- # right (and it must appear before "-lm").
78 - #--------------------------------------------------------------------
79 -
80 - AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm")
81 -- AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
82 -
83 - #--------------------------------------------------------------------
84 - # Interactive UNIX requires -linet instead of -lsocket, plus it
85
86 diff --git a/dev-lang/tcl/metadata.xml b/dev-lang/tcl/metadata.xml
87 deleted file mode 100644
88 index 354c72665..000000000
89 --- a/dev-lang/tcl/metadata.xml
90 +++ /dev/null
91 @@ -1,11 +0,0 @@
92 -<?xml version="1.0" encoding="UTF-8"?>
93 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
94 -<pkgmetadata>
95 - <maintainer type="project">
96 - <email>sci@g.o</email>
97 - <name>Gentoo Science Project</name>
98 - </maintainer>
99 - <upstream>
100 - <remote-id type="sourceforge">tcl</remote-id>
101 - </upstream>
102 -</pkgmetadata>
103
104 diff --git a/dev-lang/tcl/tcl-8.5.17-r1.ebuild b/dev-lang/tcl/tcl-8.5.17-r1.ebuild
105 deleted file mode 100644
106 index 9b2e9fa61..000000000
107 --- a/dev-lang/tcl/tcl-8.5.17-r1.ebuild
108 +++ /dev/null
109 @@ -1,117 +0,0 @@
110 -# Copyright 1999-2021 Gentoo Authors
111 -# Distributed under the terms of the GNU General Public License v2
112 -
113 -EAPI=7
114 -
115 -inherit autotools flag-o-matic multilib toolchain-funcs multilib-minimal
116 -
117 -MY_P="${PN}${PV/_beta/b}"
118 -
119 -DESCRIPTION="Tool Command Language"
120 -HOMEPAGE="http://www.tcl.tk/"
121 -SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
122 -
123 -LICENSE="tcltk"
124 -SLOT="0/8.5"
125 -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 ~x86-solaris"
126 -IUSE="debug threads"
127 -
128 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
129 -DEPEND="${RDEPEND}"
130 -
131 -SPARENT="${WORKDIR}/${MY_P}"
132 -S="${SPARENT}"/unix
133 -
134 -PATCHES=(
135 - "${FILESDIR}"/${PN}-8.5.13-multilib.patch
136 - "${FILESDIR}"/${PN}-8.5.14-conf.patch
137 - "${FILESDIR}"/${PN}-8.6.8-libieee.patch
138 -)
139 -
140 -src_prepare() {
141 - default
142 -
143 - # workaround stack check issues, bug #280934
144 - use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
145 -
146 - tc-export CC
147 -
148 - sed \
149 - -e '/chmod/s:555:755:g' \
150 - -i Makefile.in || die
151 -
152 - eautoconf
153 - multilib_copy_sources
154 -}
155 -
156 -multilib_src_configure() {
157 - # We went ahead and deleted the whole compat/ subdir which means
158 - # the configure tests to detect broken versions need to pass (else
159 - # we'll fail to build). This comes up when cross-compiling, but
160 - # might as well get a minor configure speed up normally.
161 - export ac_cv_func_memcmp_working="yes"
162 - export tcl_cv_str{str,toul,tod}_unbroken="ok"
163 - export tcl_cv_strtod_buggy="no"
164 -
165 - econf \
166 - $(use_enable threads) \
167 - $(use_enable debug symbols)
168 -}
169 -
170 -multilib_src_install() {
171 - #short version number
172 - local v1=$(ver_cut 1-2)
173 - local mylibdir=$(get_libdir)
174 -
175 - S= default
176 -
177 - # fix the tclConfig.sh to eliminate refs to the build directory
178 - # and drop unnecessary -L inclusion to default system libdir
179 -
180 - sed \
181 - -e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
182 - -e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
183 - -e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
184 - -e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
185 - -e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
186 - -e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
187 - -e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
188 - -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
189 - if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
190 - sed \
191 - -e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
192 - -e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
193 - -i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
194 - fi
195 -
196 - # install private headers
197 - insinto /usr/${mylibdir}/tcl${v1}/include/unix
198 - doins *.h
199 - insinto /usr/${mylibdir}/tcl${v1}/include/generic
200 - doins "${SPARENT}"/generic/*.h
201 - rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die
202 -
203 - # install symlink for libraries
204 - dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
205 - dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
206 -
207 - if multilib_is_native_abi; then
208 - dosym tclsh${v1} /usr/bin/tclsh
209 - dodoc "${SPARENT}"/{ChangeLog*,README,changes}
210 - fi
211 -}
212 -
213 -pkg_postinst() {
214 - for version in ${REPLACING_VERSIONS}; do
215 - if ! ver_test 8.5 -ge ${version}; then
216 - echo
217 - ewarn "You're upgrading from <${P}, you must recompile the other"
218 - ewarn "packages on your system that link with tcl after the upgrade"
219 - ewarn "completes. To perform this action, please run revdep-rebuild"
220 - ewarn "in package app-portage/gentoolkit."
221 - ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
222 - ewarn "upgrade them before this recompilation, too,"
223 - echo
224 - fi
225 - done
226 -}
227
228 diff --git a/dev-lang/tk/files/tk-8.4.15-aqua.patch b/dev-lang/tk/files/tk-8.4.15-aqua.patch
229 deleted file mode 100644
230 index 9e6f59d12..000000000
231 --- a/dev-lang/tk/files/tk-8.4.15-aqua.patch
232 +++ /dev/null
233 @@ -1,11 +0,0 @@
234 ---- unix/Makefile.in
235 -+++ unix/Makefile.in
236 -@@ -468,7 +468,7 @@
237 -
238 - AQUA_HDRS = $(MAC_OSX_DIR)/tkMacOSX.h $(GENERIC_DIR)/tkIntXlibDecls.h
239 -
240 --AQUA_XLIB_HDRS = $(XLIB_DIR)/X11/*.h $(XLIB_DIR)/xbytes.h
241 -+AQUA_XLIB_HDRS =
242 -
243 - AQUA_PRIVATE_HDRS = $(MAC_OSX_DIR)/tkMacOSXPort.h $(MAC_OSX_DIR)/tkMacOSXInt.h
244 -
245
246 diff --git a/dev-lang/tk/files/tk-8.5.11-fedora-xft.patch b/dev-lang/tk/files/tk-8.5.11-fedora-xft.patch
247 deleted file mode 100644
248 index 08bfbf759..000000000
249 --- a/dev-lang/tk/files/tk-8.5.11-fedora-xft.patch
250 +++ /dev/null
251 @@ -1,13 +0,0 @@
252 ---- unix/configure.in.old 2010-09-02 20:12:14.000000000 +0200
253 -+++ unix/configure.in 2011-02-17 13:32:22.719116636 +0100
254 -@@ -530,8 +530,8 @@
255 - XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
256 - if test "$found_xft" = "no" ; then
257 - found_xft=yes
258 -- XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
259 -- XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
260 -+ XFT_CFLAGS=`pkg-config --cflags xft freetype2 2>/dev/null` || found_xft="no"
261 -+ XFT_LIBS=`pkg-config --libs xft freetype2 2>/dev/null` || found_xft="no"
262 - fi
263 - AC_MSG_RESULT([$found_xft])
264 - dnl make sure that compiling against Xft header file doesn't bomb
265
266 diff --git a/dev-lang/tk/files/tk-8.5.13-multilib.patch b/dev-lang/tk/files/tk-8.5.13-multilib.patch
267 deleted file mode 100644
268 index 5ba9c19c9..000000000
269 --- a/dev-lang/tk/files/tk-8.5.13-multilib.patch
270 +++ /dev/null
271 @@ -1,12 +0,0 @@
272 -diff -Naur unix/configure.in unix/configure.in
273 ---- unix/configure.in 2005-06-30 01:43:10.000000000 +0900
274 -+++ unix/configure.in 2005-07-02 23:22:16.000000000 +0900
275 -@@ -393,7 +393,7 @@
276 - TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
277 - fi
278 -
279 --TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
280 -+TK_LIBRARY='$(libdir)/tk$(VERSION)'
281 - PRIVATE_INCLUDE_DIR='$(includedir)'
282 - HTML_DIR='$(DISTDIR)/html'
283 - TK_PKG_DIR='tk$(VERSION)$(TK_DBGX)'
284
285 diff --git a/dev-lang/tk/files/tk-8.5.14-conf.patch b/dev-lang/tk/files/tk-8.5.14-conf.patch
286 deleted file mode 100644
287 index 5f8274f9e..000000000
288 --- a/dev-lang/tk/files/tk-8.5.14-conf.patch
289 +++ /dev/null
290 @@ -1,16 +0,0 @@
291 - unix/tcl.m4 | 6 +++---
292 - 1 file changed, 3 insertions(+), 3 deletions(-)
293 -
294 -diff --git a/unix/tcl.m4 b/unix/tcl.m4
295 -index 3974753..9c36eb5 100644
296 ---- unix/tcl.m4
297 -+++ unix/tcl.m4
298 -@@ -1420,7 +1420,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
299 - # get rid of the warnings.
300 - #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
301 -
302 -- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
303 -+ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
304 - DL_OBJS="tclLoadDl.o"
305 - DL_LIBS="-ldl"
306 - LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
307
308 diff --git a/dev-lang/tk/files/tk-8.6.8-libieee.patch b/dev-lang/tk/files/tk-8.6.8-libieee.patch
309 deleted file mode 100644
310 index 6bc8fa11a..000000000
311 --- a/dev-lang/tk/files/tk-8.6.8-libieee.patch
312 +++ /dev/null
313 @@ -1,15 +0,0 @@
314 ---- unix/tcl.m4
315 -+++ unix/tcl.m4
316 -@@ -2470,12 +2470,9 @@
317 - #--------------------------------------------------------------------
318 - # On a few very rare systems, all of the libm.a stuff is
319 - # already in libc.a. Set compiler flags accordingly.
320 -- # Also, Linux requires the "ieee" library for math to work
321 -- # right (and it must appear before "-lm").
322 - #--------------------------------------------------------------------
323 -
324 - AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm")
325 -- AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
326 -
327 - #--------------------------------------------------------------------
328 - # Interactive UNIX requires -linet instead of -lsocket, plus it
329
330 diff --git a/dev-lang/tk/metadata.xml b/dev-lang/tk/metadata.xml
331 deleted file mode 100644
332 index 354c72665..000000000
333 --- a/dev-lang/tk/metadata.xml
334 +++ /dev/null
335 @@ -1,11 +0,0 @@
336 -<?xml version="1.0" encoding="UTF-8"?>
337 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
338 -<pkgmetadata>
339 - <maintainer type="project">
340 - <email>sci@g.o</email>
341 - <name>Gentoo Science Project</name>
342 - </maintainer>
343 - <upstream>
344 - <remote-id type="sourceforge">tcl</remote-id>
345 - </upstream>
346 -</pkgmetadata>
347
348 diff --git a/dev-lang/tk/tk-8.5.17-r1.ebuild b/dev-lang/tk/tk-8.5.17-r1.ebuild
349 deleted file mode 100644
350 index 8f7e78d7f..000000000
351 --- a/dev-lang/tk/tk-8.5.17-r1.ebuild
352 +++ /dev/null
353 @@ -1,128 +0,0 @@
354 -# Copyright 1999-2021 Gentoo Authors
355 -# Distributed under the terms of the GNU General Public License v2
356 -
357 -EAPI=7
358 -
359 -inherit autotools multilib prefix toolchain-funcs virtualx
360 -
361 -MY_P="${PN}${PV/_beta/b}"
362 -
363 -DESCRIPTION="Tk Widget Set"
364 -HOMEPAGE="http://www.tcl.tk/"
365 -SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
366 -
367 -LICENSE="tcltk"
368 -SLOT="0/8.5"
369 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
370 -IUSE="debug threads truetype aqua xscreensaver"
371 -RESTRICT="!test? ( test )"
372 -
373 -RDEPEND="
374 - !aqua? (
375 - media-libs/fontconfig
376 - media-libs/freetype:2
377 - x11-libs/libX11
378 - x11-libs/libXt
379 - truetype? ( x11-libs/libXft )
380 - xscreensaver? ( x11-libs/libXScrnSaver )
381 - )
382 - ~dev-lang/tcl-${PV}:0="
383 -DEPEND="${RDEPEND}
384 - !aqua? ( x11-base/xorg-proto )"
385 -
386 -SPARENT="${WORKDIR}/${MY_P}"
387 -S="${SPARENT}"/unix
388 -
389 -src_prepare() {
390 - eapply \
391 - "${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch \
392 - "${FILESDIR}"/${PN}-8.5.13-multilib.patch
393 -
394 - eapply "${FILESDIR}"/${PN}-8.4.15-aqua.patch
395 - eprefixify Makefile.in
396 -
397 - # Bug 125971
398 - eapply "${FILESDIR}"/${PN}-8.5.14-conf.patch
399 -
400 - # Bug 648570
401 - eapply "${FILESDIR}"/${PN}-8.6.8-libieee.patch
402 -
403 - # Make sure we use the right pkg-config, and link against fontconfig
404 - # (since the code base uses Fc* functions).
405 - sed \
406 - -e 's/FT_New_Face/XftFontOpen/g' \
407 - -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
408 - -e 's:xft freetype2:xft freetype2 fontconfig:' \
409 - -i configure.in || die
410 - rm -f configure || die
411 -
412 - sed \
413 - -e '/chmod/s:555:755:g' \
414 - -i Makefile.in || die
415 -
416 - tc-export CC
417 -
418 - default
419 - eautoconf
420 -}
421 -
422 -src_configure() {
423 - local mylibdir=$(get_libdir)
424 -
425 - econf \
426 - --with-tcl="${EPREFIX}/usr/${mylibdir}" \
427 - $(use_enable threads) \
428 - $(use_enable aqua) \
429 - $(use_enable truetype xft) \
430 - $(use_enable xscreensaver xss) \
431 - $(use_enable debug symbols)
432 -}
433 -
434 -src_test() {
435 - virtx emake test
436 -}
437 -
438 -src_install() {
439 - #short version number
440 - local v1=$(ver_cut 1-2)
441 - local mylibdir=$(get_libdir)
442 -
443 - S= default
444 -
445 - # normalize $S path, bug #280766 (pkgcore)
446 - local nS="$(cd "${S}"; pwd)"
447 -
448 - # fix the tkConfig.sh to eliminate refs to the build directory
449 - # and drop unnecessary -L inclusion to default system libdir
450 -
451 - sed \
452 - -e "/^TK_BUILD_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
453 - -e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
454 - -e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \
455 - -e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${SPARENT}.*unix *::g" \
456 - -e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
457 - -e "/^TK_BUILD_STUB_LIB_PATH=/s:${SPARENT}.*unix:${EPREFIX}/usr/${mylibdir}:g" \
458 - -e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \
459 - -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
460 - if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
461 - sed \
462 - -e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
463 - -e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
464 - -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
465 - fi
466 -
467 - # install private headers
468 - insinto /usr/${mylibdir}/tk${v1}/include/unix
469 - doins "${S}"/*.h
470 - insinto /usr/${mylibdir}/tk${v1}/include/generic
471 - doins "${SPARENT}"/generic/*.h
472 - rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die
473 -
474 - # install symlink for libraries
475 - dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname)
476 - dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
477 -
478 - dosym wish${v1} /usr/bin/wish
479 -
480 - dodoc "${SPARENT}"/{ChangeLog*,README,changes}
481 -}