summaryrefslogtreecommitdiff
path: root/games/vdrift
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2009-05-13 05:20:09 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2009-05-13 05:20:09 +0000
commita67dc21b2c69c3750e245c07d3e4ee026918f99d (patch)
tree1276b2b02201d4c32805f9fb3ad6202b68da028a /games/vdrift
parent- update to 2.13 (diff)
- Fix condition in patch-Sconstruct with correct value for respect CCFLAGS.
Notes
Notes: svn path=/head/; revision=233810
Diffstat (limited to 'games/vdrift')
-rw-r--r--games/vdrift/files/patch-SConstruct15
1 files changed, 3 insertions, 12 deletions
diff --git a/games/vdrift/files/patch-SConstruct b/games/vdrift/files/patch-SConstruct
index 101fd6e2946b..2f91a0a52dff 100644
--- a/games/vdrift/files/patch-SConstruct
+++ b/games/vdrift/files/patch-SConstruct
@@ -1,5 +1,5 @@
---- SConstruct 2009-02-05 12:28:31.000000000 -0500
-+++ SConstruct 2009-05-12 22:37:17.000000000 -0500
+--- SConstruct 2009-05-13 00:13:10.000000000 -0500
++++ SConstruct 2009-05-13 00:14:44.000000000 -0500
@@ -6,26 +6,26 @@
# Build Options #
#---------------#
@@ -53,21 +53,12 @@
if 'LOCALBASE' in os.environ:
LOCALBASE = os.environ['LOCALBASE']
else:
-@@ -122,7 +122,7 @@
- #---------------#
- elif ( 'win32' == sys.platform or 'cygwin' == sys.platform ):
- env = Environment(ENV = os.environ, tools = ['mingw'],
-- CCFLAGS = ['-Wall', '-Wextra', '-Wno-unused-parameters', '-O2', '-mwindows', '-mno-cygwin'],
-+ CCFLAGS = ['-Wall', '-Wextra', '-Wno-unused-parameters', '', '-mwindows', '-mno-cygwin'],
- CPPPATH = ['#include', '#tools/win/include', '#bullet-2.73/src'],
- LIBPATH = ['#tools/win/dll'],
- CPPDEFINES = ['_REENTRANT'],
@@ -387,7 +387,8 @@
version = strftime("%Y-%m-%d")
if env['release']:
# release build, debugging off, optimizations on
- env.Append(CCFLAGS = ['-O1', '-pipe'])
-+ if (sys.platform != 'freebsd6') and (sys.platform == 'freebsd7') and (sys.platform == 'freebsd8'):
++ if (sys.platform != 'freebsd6') and (sys.platform != 'freebsd7') and (sys.platform != 'freebsd8'):
+ env.Append(CCFLAGS = ['-O1', '-pipe'])
# version is current build date
#version = strftime("%Y-%m-%d")