aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-04-11 02:50:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-04-11 02:50:57 +0800
commita0604532a670bd48404c534cd6fa80f3297cdb1b (patch)
treebabb62f4cce482cca0c7f6801c54ce46195c399f /games
parent1b76747d849e34a6be4a79436a968a95a978907a (diff)
downloadfreebsd-ports-gnome-a0604532a670bd48404c534cd6fa80f3297cdb1b.tar.gz
freebsd-ports-gnome-a0604532a670bd48404c534cd6fa80f3297cdb1b.tar.zst
freebsd-ports-gnome-a0604532a670bd48404c534cd6fa80f3297cdb1b.zip
- Make scons pass environement to build tools, so the port can be built with ccache
Approved by: danfe (maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/battletanks/files/patch-SConstruct9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/battletanks/files/patch-SConstruct b/games/battletanks/files/patch-SConstruct
index 655fa91540bd..b8a28c6939bd 100644
--- a/games/battletanks/files/patch-SConstruct
+++ b/games/battletanks/files/patch-SConstruct
@@ -1,5 +1,14 @@
--- SConstruct.orig 2007-12-21 19:45:15.000000000 +0600
+++ SConstruct 2008-03-27 04:41:37.000000000 +0600
+@@ -1,7 +1,7 @@
+ import os, sys
+
+ #builder for static libraries
+-env = Environment()
++env = Environment(ENV = os.environ)
+
+ picLibBuilder = Builder(
+ action = Action('$ARCOM'),
@@ -53,6 +53,8 @@
env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
if os.environ.has_key('LDFLAGS'):