openbsd-ports/games/bzflag/patches/patch-configure_ac
2010-07-25 17:14:35 +00:00

31 lines
980 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.5 2010/07/25 17:14:35 jolan Exp $
--- configure.ac.orig Thu Apr 1 01:31:35 2010
+++ configure.ac Fri Apr 9 21:23:26 2010
@@ -230,7 +230,7 @@ fi
AC_MSG_RESULT([$ac_ff_effect_directional])
case $host_os in
- linux*|kfreebsd*|freebsd*|netbsd*|dragonfly*) linux=true;;
+ linux*|kfreebsd*|freebsd*|netbsd*|openbsd*|dragonfly*) linux=true;;
*) linux=false;;
esac
AM_CONDITIONAL(LINUX, $linux)
@@ -685,7 +685,7 @@ esac
if test x$enable_debug = xyes ; then
FLAGS="$FLAGS -O0"
case $host_os in
- linux*|cygwin|mingw32*)
+ linux*|openbsd*|cygwin|mingw32*)
FLAGS="$FLAGS -Werror -Wshadow"
if test x$enable_profiling = xyes ; then
FLAGS="$FLAGS -pg"
@@ -703,7 +703,7 @@ if test x$enable_debug = xyes ; then
AC_DEFINE(DEBUG, 1, [Debugging enabled])
else
case $host_os in
- linux*|cygwin|mingw32*)
+ linux*|openbsd*|cygwin|mingw32*)
FLAGS="$FLAGS -ffast-math -fno-exceptions"
;;
solaris*)