aboutsummaryrefslogtreecommitdiff
path: root/games/boswars/files
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-09-10 04:06:30 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-09-10 04:06:30 +0000
commit091706057f5bfdcd88498f077c26e7e284204d1d (patch)
treee5e4fdce024f987c7e238e069f375eb1a5c896e2 /games/boswars/files
parent4dedcccd3f7371b74f520ce9aa46029069e09c09 (diff)
- Update to version 2.4.1.
Reported by: portscout
Notes
Notes: svn path=/head/; revision=199240
Diffstat (limited to 'games/boswars/files')
-rw-r--r--games/boswars/files/patch-SConstruct14
1 files changed, 8 insertions, 6 deletions
diff --git a/games/boswars/files/patch-SConstruct b/games/boswars/files/patch-SConstruct
index f342e452f877..c86759ad3509 100644
--- a/games/boswars/files/patch-SConstruct
+++ b/games/boswars/files/patch-SConstruct
@@ -1,6 +1,6 @@
---- SConstruct.orig Wed Aug 8 15:24:15 2007
-+++ SConstruct Wed Aug 29 23:18:00 2007
-@@ -50,6 +50,9 @@
+--- ./SConstruct.orig Sun Sep 2 16:44:44 2007
++++ ./SConstruct Sun Sep 9 03:42:09 2007
+@@ -49,6 +49,9 @@
opts = DefineOptions("build_options.py", ARGUMENTS)
env = Environment(ENV = {'PATH':os.environ['PATH']}) # for an unknown reason Environment(options=opts) doesnt work well
opts.Update(env) # Needed as Environment(options=opts) doesnt seem to work
@@ -10,7 +10,7 @@
Help(opts.GenerateHelpText(env))
mingw = env.Copy()
optionsChanged = True
-@@ -143,11 +146,17 @@
+@@ -142,6 +145,10 @@
'LIBS': ['GL'],
'LIBPATH': ['/usr/lib', '/usr/X11R6/lib'],
'CPPPATH': ['/usr/include']}
@@ -20,11 +20,13 @@
+ 'CPPPATH': ['/usr/local/include']}
opengl['cygwin'] = {
'LIBS': ['opengl3']}
+ opengl['darwin'] = {
+@@ -150,6 +157,8 @@
platform = sys.platform
if sys.platform[:5] == 'linux':
platform = 'linux'
+ if sys.platform[:7] == 'freebsd':
+ platform = 'freebsd'
- for key in opengl[platform].keys():
+ glconfig = opengl.get(platform, {})
+ for key in glconfig:
if key != 'LIBS':
- for i in opengl[platform][key]: