[Lunar-commits] r20193 - moonbase/trunk/games/foobillard

Moritz Heiber moe at lunar-linux.org
Tue May 23 12:27:20 UTC 2006


Author: moe
Date: 2006-05-23 12:27:20 +0000 (Tue, 23 May 2006)
New Revision: 20193

Modified:
   moonbase/trunk/games/foobillard/BUILD
   moonbase/trunk/games/foobillard/DEPENDS
Log:
Much better this way. We should never add depends on either NVIDIA or fglrx
unless they are REALLY needed. In this case its a mere improvement ..

NVIDIA users get it .. everyone else not. Period.



Modified: moonbase/trunk/games/foobillard/BUILD
===================================================================
--- moonbase/trunk/games/foobillard/BUILD	2006-05-23 12:24:21 UTC (rev 20192)
+++ moonbase/trunk/games/foobillard/BUILD	2006-05-23 12:27:20 UTC (rev 20193)
@@ -1,6 +1,13 @@
 (
   sedit "s:exec_prefix}/bin:exec_prefix}/games:" configure  &&
   sedit "s:prefix}/share:prefix}/share/games:"   configure  &&
+
+  if module_installed NVIDIA; then
+	OPTS="$OPTS --enable-bumpref=yes"
+  else
+	OPTS="$OPTS --enable-bumpref=no"
+  fi
+
   default_game_build
 
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/games/foobillard/DEPENDS
===================================================================
--- moonbase/trunk/games/foobillard/DEPENDS	2006-05-23 12:24:21 UTC (rev 20192)
+++ moonbase/trunk/games/foobillard/DEPENDS	2006-05-23 12:27:20 UTC (rev 20193)
@@ -1,6 +1,3 @@
 depends freetype2  &&
 depends libpng     &&
-depends %GLUT       &&
-
-optional_depends "NVIDIA" "--enable-bumpref=yes" "--enable-bumpref=no" \
-                 "for extended NV OpenGL functions"
+depends %GLUT



More information about the Lunar-commits mailing list