freebsd-ports/games/torcs/files/patch-configure
Thierry Thomas 03b4fb1c4d Upgrade to TORCS-1.2.3.
Remark: it is currently broken on FreeBSD-4.11.
2005-02-16 21:42:16 +00:00

19 lines
545 B
Text

--- configure.orig Fri Feb 4 23:30:08 2005
+++ configure Mon Feb 14 23:05:09 2005
@@ -4930,13 +4930,13 @@
fi
#CFLAGS="-ansi -Wall -Wstrict-prototypes -W"
-ADDCFLAGS="-Wall -fPIC"
+ADDCFLAGS="$CFLAGS -Wall -fPIC"
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
enableval="$enable_debug"
ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT"
-else
- ADDCFLAGS="$ADDCFLAGS -O2"
+#else
+# ADDCFLAGS="$ADDCFLAGS -O2"
fi;
# Check whether --enable-xrandr or --disable-xrandr was given.