Package: tdfsb / 0.0.10-3

hurd.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: tdfsb-0.0.10/compile.sh
===================================================================
--- tdfsb-0.0.10.orig/compile.sh	2009-10-20 12:50:03.000000000 -0400
+++ tdfsb-0.0.10/compile.sh	2009-10-20 12:51:25.000000000 -0400
@@ -36,6 +36,10 @@
     echo "BSD detected.";
     echo "compiling...";
     gcc $ARGS1 $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg -D_THREAD_SAFE $CFLAGS -x c -o tdfsb tdfsb.c;
+elif uname -s | grep -i -c "GNU" > /dev/null; then
+    echo "GNU system detected.";
+    echo "compiling...";
+    gcc $ARGS1 $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg -D_THREAD_SAFE $CFLAGS -x c -o tdfsb tdfsb.c;
 else
     echo "Unknown OS. If you are running Linux, BeOS or";
     echo "FreeBSD please send me the output of 'uname -s'."