[Lunar-commits] tuxracer: So it can find tcl-8.5
Dennis Veatch
dennisveatch at bellsouth.net
Wed Dec 26 23:17:16 CET 2007
commit e6a6b6ebae37a601d261d20e1fe09a8f69108315
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Wed Dec 26 17:17:16 2007 -0500
tuxracer: So it can find tcl-8.5
---
games/tuxracer/BUILD | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/games/tuxracer/BUILD b/games/tuxracer/BUILD
index 5e7a114..91fb1e9 100644
--- a/games/tuxracer/BUILD
+++ b/games/tuxracer/BUILD
@@ -1,5 +1,7 @@
(
+ TCL_VER=`lvu version tcl | cut -d. -f1-2`
+
if ! module_installed NVIDIA || ! module_installed NVIDIA-beta || ! module_installed NVIDIA-legacy; then
sedit "s:glXGetProcAddressARB:glXGetProcAddress:g" configure
fi &&
@@ -9,7 +11,8 @@
mkdir -p /usr/share/games/$MODULE-data-$VERSION &&
./configure --prefix=/usr \
- --with-tcl-lib-name=tcl8.4 \
+ --with-tcl-lib-name=tcl${TCL_VER} \
+ --with-tcl-libs=/usr/lib/tcl${TCL_VER} \
--with-data-dir=/usr/share/games/$MODULE-data-$VERSION &&
sedit "s:-malign-:-falign-:g" Makefile src/Makefile &&
More information about the Lunar-commits
mailing list