[Lunar-commits] tuxracer: added NVIDIA-old, shorter build

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Jan 13 19:46:57 CET 2008


commit ced7ec37cc78ca8417a98e7271826568a4182a55
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Jan 13 19:46:57 2008 +0100

    tuxracer: added NVIDIA-old, shorter build
---
 games/tuxracer/BUILD |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/games/tuxracer/BUILD b/games/tuxracer/BUILD
index 91fb1e9..d7d47aa 100644
--- a/games/tuxracer/BUILD
+++ b/games/tuxracer/BUILD
@@ -1,8 +1,6 @@
 (
 
-  TCL_VER=`lvu version tcl | cut -d. -f1-2`
-
-  if ! module_installed NVIDIA || ! module_installed NVIDIA-beta || ! module_installed NVIDIA-legacy; then
+  if ! module_installed NVIDIA || ! module_installed NVIDIA-beta || ! module_installed NVIDIA-legacy || ! module_installed NVIDIA-old; then
   sedit "s:glXGetProcAddressARB:glXGetProcAddress:g" configure
   fi &&
 
@@ -11,8 +9,7 @@
   mkdir -p /usr/share/games/$MODULE-data-$VERSION &&
 
   ./configure --prefix=/usr                                           \
-              --with-tcl-lib-name=tcl${TCL_VER}                       \
-              --with-tcl-libs=/usr/lib/tcl${TCL_VER}                  \
+              --with-tcl-lib-name=tcl`lvu version tcl | cut -d. -f1,2` \
               --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