[Lunar-commits] CVS: moonbase/games/quake2 CONFIGURE, NONE,
1.1 BUILD, 1.1, 1.2
striker at lunar-linux.org
striker at lunar-linux.org
Mon Sep 6 06:58:20 UTC 2004
Update of /var/cvs/lunar/moonbase/games/quake2
In directory espresso.lunar-linux.org:/tmp/cvs-serv28940
Modified Files:
BUILD
Added Files:
CONFIGURE
Log Message:
added option to disable warnings, which helps build on my system...maybe
it's NVIDIA? *shrug* 42.
--- NEW FILE: CONFIGURE ---
FOO="WERR"
if ! grep -q "$FOO" $MODULE_CONFIG; then
if query "Disable warnings (Not recommended unless build fails)?" n; then
echo "$FOO=n" >> $MODULE_CONFIG
else
echo "$FOO=y" >> $MODULE_CONFIG
fi
fi
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/games/quake2/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD 12 Oct 2003 16:02:05 -0000 1.1
+++ BUILD 6 Sep 2004 06:58:18 -0000 1.2
@@ -1,8 +1,13 @@
(
- ./configure --prefix=/usr \
- --bindir=/usr/games \
- --datadir=/usr/share/games &&
+ if [ "$WERR" == "n" ]; then
+ OPTS="$OPTS --disable-warn"
+ fi
+
+ ./configure --prefix=/usr \
+ --bindir=/usr/games \
+ --datadir=/usr/share/games \
+ $OPTS &&
default_make
More information about the Lunar-commits
mailing list