1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Fix build on -CURRENT

Approved by:	maintainer
This commit is contained in:
Robert Noland 2010-05-17 14:30:00 +00:00
parent d843ddb01e
commit 6cfbd5322c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254490
2 changed files with 5 additions and 5 deletions

View File

@ -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")

View File

@ -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')
+