openbsd-ports/games/wesnoth/patches/patch-configure
jasper a2735c2a72 - long overdue update of wesnoth to 1.6.5
joint work with tom murphy
thanks to sthen@ for torturing his armish for countless hours.

ok sthen@
2009-11-11 16:01:33 +00:00

30 lines
884 B
Plaintext

--- configure.orig Sun Sep 6 17:46:43 2009
+++ configure Wed Oct 28 23:04:03 2009
@@ -6006,8 +6006,8 @@ then
CXXFLAGS="-O0 -DDEBUG -ggdb3 -W -Wall -ansi $CXXFLAGS"
else
# Don't use ansi for CFLAGS since it fails to compile.
- CFLAGS="-O2 -W -Wall $CFLAGS"
- CXXFLAGS="-O2 -W -Wall -ansi $CXXFLAGS"
+ CFLAGS="-W -Wall $CFLAGS"
+ CXXFLAGS="-W -Wall $CXXFLAGS"
fi
if test "x$profile" = "xyes"
@@ -6021,15 +6021,6 @@ then
# Strict compilation for C files is disabled until somebody wants to clean them.
# CFLAGS="$CFLAGS -Werror -Wno-unused -Wno-sign-compare"
CXXFLAGS="$CXXFLAGS -Werror -Wno-unused -Wno-sign-compare"
-fi
-
-# Make tests default in svn version
-svn_in_version=`expr match "$1.6.5" '.*svn'`
-test_build=yes
-if test $svn_in_version = 0
-then
- #disabling building tests for release version
- test_build=no
fi
# Check whether --enable-tests was given.