summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/boswars/files/boswars-2.7-scons-blows.patch')
-rw-r--r--games-strategy/boswars/files/boswars-2.7-scons-blows.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/games-strategy/boswars/files/boswars-2.7-scons-blows.patch b/games-strategy/boswars/files/boswars-2.7-scons-blows.patch
deleted file mode 100644
index 1d2c04cc4f1..00000000000
--- a/games-strategy/boswars/files/boswars-2.7-scons-blows.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/SConstruct 2010-11-19 21:09:45.724976603 -0500
-+++ b/SConstruct 2010-11-19 21:11:05.723197985 -0500
-@@ -22,6 +22,7 @@
- ##
-
- import os
-+import SCons.Util
- import sys
- import glob
- from stat import *
-@@ -50,6 +51,16 @@
-
- opts = DefineOptions("build_options.py", ARGUMENTS)
- env = Environment(ENV = {'PATH':os.environ['PATH']}) # for an unknown reason Environment(options=opts) doesnt work well
-+if os.environ.has_key('CC'):
-+ env['CC'] = os.environ['CC']
-+if os.environ.has_key('CFLAGS'):
-+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
-+if os.environ.has_key('CXX'):
-+ env['CXX'] = os.environ['CXX']
-+if os.environ.has_key('CXXFLAGS'):
-+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
-+if os.environ.has_key('LDFLAGS'):
-+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
- opts.Update(env) # Needed as Environment(options=opts) doesnt seem to work
- Help(opts.GenerateHelpText(env))
- mingw = env.Clone()