[Lunar-commits] tk: fixing incorrect symlink creation.

stumbles stumbles at lunar-linux.org
Thu Jan 3 00:59:06 CET 2008


commit 828066b9f1969710c0de4f6dda07d2784a73e3a4
Author: stumbles <stumbles at lunar-linux.org>
Date:   Wed Jan 2 18:59:06 2008 -0500

    tk: fixing incorrect symlink creation.
    
    No wonder git-gui barfed by not finding /usr/bin/wish.
---
 devel/tk/BUILD   |    5 ++++-
 devel/tk/DETAILS |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/devel/tk/BUILD b/devel/tk/BUILD
index 4337180..e05edb5 100644
--- a/devel/tk/BUILD
+++ b/devel/tk/BUILD
@@ -17,11 +17,14 @@
   # This sedit line is only a temporary fix. When the next version of tcl and tk is available
   # this line should be deleted.
 
+  TK_VER=`lvu version tk | cut -d. -f1-2`
+
   sedit "s:system=MP-RAS-\`awk '{print }' /etc/.relid'\`:system=MP-RAS-\`awk '{print }' /etc/.relid\`:g" configure   &&
   ./configure --prefix=/usr              \
               --mandir=/usr/share/man    \
         --with-tcl=../tcl$VERSION/unix  &&
   default_make                          &&
-  ln -sf wish8.4 /usr/bin/wish
+
+  ln -sf wish${TK_VER} /usr/bin/wish
 
 ) > $C_FIFO 2>&1
diff --git a/devel/tk/DETAILS b/devel/tk/DETAILS
index 3e0cb35..0392336 100644
--- a/devel/tk/DETAILS
+++ b/devel/tk/DETAILS
@@ -9,7 +9,7 @@
        SOURCE2_VFY=sha1:d636d29f213533e8d32eb21f7cd7f8c7a5d76565
           WEB_SITE=http://tcl.sourceforge.net/
            ENTERED=20031105
-           UPDATED=20071221
+           UPDATED=20080102
              SHORT="Tk provides a portable GUI platform"
 
 cat << EOF


More information about the Lunar-commits mailing list