[Lunar-commits] tcl: fix BUILD to create proper symlilnk.
Dennis Veatch
dennisveatch at bellsouth.net
Tue Dec 25 16:18:03 CET 2007
commit cb0661dc13855367893cf23a30d8e787afcf6d90
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Tue Dec 25 10:18:03 2007 -0500
tcl: fix BUILD to create proper symlilnk.
---
devel/tcl/BUILD | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/devel/tcl/BUILD b/devel/tcl/BUILD
index 8e53f92..f3e62da 100644
--- a/devel/tcl/BUILD
+++ b/devel/tcl/BUILD
@@ -1,8 +1,10 @@
(
+ TCL_VER=`lvu version tcl | cut -d. -f1-2`
+
cd unix &&
- # This sedit line is only a temporary fix. When the next version of tcl and tk is available
+ # This sedit line is only a temporary fix. When the next version of tcl and tk is available
# this line should be deleted.
sedit "s:system=MP-RAS-\`awk '{print }' /etc/.relid'\`:system=MP-RAS-\`awk '{print }' /etc/.relid\`:g" configure &&
@@ -10,6 +12,6 @@
./configure --prefix=/usr \
--mandir=/usr/share/man &&
default_make &&
- ln -sf tclsh8.4 /usr/bin/tclsh
+ ln -sf tclsh${TCL_VER} /usr/bin/tclsh
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list