From 52ecdee553ff2e34ba2e1678007cd392127fd5c8 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Sat, 22 Nov 2003 23:25:25 +0000 Subject: [PATCH] added compatibility links to tcltk - ocs need this - and Martin Baum also requested this feature months ago ... git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1850 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- Documentation/Developers/CHANGELOG-RENE | 1 + package/x11/tcltk/tcltk.conf | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE index 30b39f434..f01058d25 100644 --- a/Documentation/Developers/CHANGELOG-RENE +++ b/Documentation/Developers/CHANGELOG-RENE @@ -7,6 +7,7 @@ - Daniel Pischl: updated icewm and gkrellm - fixed iptables for system without or non-current /usr/src/linux - fixed a xfree86 header file + - added compatibility links to tcltk *) 2003-11-21 (2.0.0-rc3 - 2.0.0-rc4) diff --git a/package/x11/tcltk/tcltk.conf b/package/x11/tcltk/tcltk.conf index ecdc54d06..92d0135c8 100644 --- a/package/x11/tcltk/tcltk.conf +++ b/package/x11/tcltk/tcltk.conf @@ -30,6 +30,8 @@ fix_doc() { } main_tcltk() { + sver="`echo $ver | cut -d . -f 1-2`" + echo "Extracting tcl$ver-src.tar.bz2 and tk$ver-src.tar.bz2 .." tar $taropt $archdir/tcl$ver-src.tar.bz2 tar $taropt $archdir/tk$ver-src.tar.bz2 @@ -37,14 +39,16 @@ main_tcltk() { cd tcl$ver/unix fix_doc tcl eval ./configure $confopt --enable-gcc --enable-shared - eval $MAKE ; eval $MAKE install ; ln -vsf tclsh8.4 /usr/bin/tclsh + eval $MAKE ; eval $MAKE install + ln -vsf tclsh8.4 $bindir/tclsh + ln -vsf libtcl$sver.so $libdir/libtcl.so cd ../../tk$ver/unix fix_doc tk eval ./configure $confopt --enable-gcc --enable-shared - eval $MAKE ; eval $MAKE install ; ln -vsf wish8.4 /usr/bin/wish - - cd ../.. ; rm -rf tcl$ver tk$ver + eval $MAKE ; eval $MAKE install + ln -vsf wish8.4 $bindir/wish + ln -vsf libtk$sver.so $libdir/libtk.so } custmain=main_tcltk