diff options
author | acm <acm@FreeBSD.org> | 2009-05-13 13:20:09 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2009-05-13 13:20:09 +0800 |
commit | 04c6fc7678d07959a8c60204ac2e33c68106ca82 (patch) | |
tree | ba410845b7986f0d26b69ad53d73416147c89229 /games | |
parent | 9f364690f6794ed2b7b4f3cf5a943f864434bcca (diff) | |
download | freebsd-ports-graphics-04c6fc7678d07959a8c60204ac2e33c68106ca82.tar.gz freebsd-ports-graphics-04c6fc7678d07959a8c60204ac2e33c68106ca82.tar.zst freebsd-ports-graphics-04c6fc7678d07959a8c60204ac2e33c68106ca82.zip |
- Fix condition in patch-Sconstruct with correct value for respect CCFLAGS.
Diffstat (limited to 'games')
-rw-r--r-- | games/vdrift/files/patch-SConstruct | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/games/vdrift/files/patch-SConstruct b/games/vdrift/files/patch-SConstruct index 101fd6e2946..2f91a0a52df 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") |