diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-04-11 02:50:57 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-04-11 02:50:57 +0800 |
commit | a0604532a670bd48404c534cd6fa80f3297cdb1b (patch) | |
tree | babb62f4cce482cca0c7f6801c54ce46195c399f /games | |
parent | 1b76747d849e34a6be4a79436a968a95a978907a (diff) | |
download | freebsd-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-SConstruct | 9 |
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'): |