aboutsummaryrefslogtreecommitdiff
path: root/games/vdrift
diff options
context:
space:
mode:
authorRobert Noland <rnoland@FreeBSD.org>2010-05-17 14:30:00 +0000
committerRobert Noland <rnoland@FreeBSD.org>2010-05-17 14:30:00 +0000
commit6cfbd5322c2a1114b3c3b1fc0a8087b65b0bcc7c (patch)
tree70d78fe3ed5e1ad6c53adce9428771fcd2642073 /games/vdrift
parentd843ddb01ec1dbd1dac10197ea1f73c445f68cec (diff)
downloadports-6cfbd5322c2a1114b3c3b1fc0a8087b65b0bcc7c.tar.gz
ports-6cfbd5322c2a1114b3c3b1fc0a8087b65b0bcc7c.zip
Notes
Diffstat (limited to 'games/vdrift')
-rw-r--r--games/vdrift/files/patch-SConstruct4
-rw-r--r--games/vdrift/files/patch-src_SConscript6
2 files changed, 5 insertions, 5 deletions
diff --git a/games/vdrift/files/patch-SConstruct b/games/vdrift/files/patch-SConstruct
index 2f91a0a52dff..579a9a318a70 100644
--- a/games/vdrift/files/patch-SConstruct
+++ b/games/vdrift/files/patch-SConstruct
@@ -49,7 +49,7 @@
# FreeBSD build #
#---------------#
-if (sys.platform == 'freebsd5') or (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7') or (sys.platform == 'freebsd8'):
-+if (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7') or (sys.platform == 'freebsd8'):
++if (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7') or (sys.platform == 'freebsd8') or (sys.platform == 'freebsd9'):
if 'LOCALBASE' in os.environ:
LOCALBASE = os.environ['LOCALBASE']
else:
@@ -58,7 +58,7 @@
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') and (sys.platform != 'freebsd9'):
+ env.Append(CCFLAGS = ['-O1', '-pipe'])
# version is current build date
#version = strftime("%Y-%m-%d")
diff --git a/games/vdrift/files/patch-src_SConscript b/games/vdrift/files/patch-src_SConscript
index 5d1aa3120fb9..26a5d2b1e59b 100644
--- a/games/vdrift/files/patch-src_SConscript
+++ b/games/vdrift/files/patch-src_SConscript
@@ -6,7 +6,7 @@
-def addbulletpath( val ):
- return "../bullet-2.73/src/"+val
-+if (sys.platform != 'freebsd6') and (sys.platform != 'freebsd7') and (sys.platform != 'freebsd8'):
++if (sys.platform != 'freebsd6') and (sys.platform != 'freebsd7') and (sys.platform != 'freebsd8') and (sys.platform != 'freebsd9'):
+ def addbulletpath( val ):
+ return "../bullet-2.73/src/"+val
@@ -19,7 +19,7 @@
-bullet_src = map(addbulletpath, bullet_src)
-src.extend(bullet_src)
-+if (sys.platform != 'freebsd6') and (sys.platform != 'freebsd7') and (sys.platform != 'freebsd8'):
++if (sys.platform != 'freebsd6') and (sys.platform != 'freebsd7') and (sys.platform != 'freebsd8') and (sys.platform != 'freebsd9'):
+ bullet_src = map(addbulletpath, bullet_src)
+ src.extend(bullet_src)
@@ -29,7 +29,7 @@
vdrift_install = None
common_libs = ['SDL_image', 'SDL_net', 'SDL_gfx', 'vorbisfile']
-+if (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7') or (sys.platform == 'freebsd8'):
++if (sys.platform == 'freebsd6') or (sys.platform == 'freebsd7') or (sys.platform == 'freebsd8') or (sys.platform == 'freebsd9'):
+ common_libs.append('libbulletcollision')
+ common_libs.append('libbulletmath')
+