diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-06-15 13:46:01 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-06-15 13:46:01 +0000 |
commit | 0e5df2ffd1067d0ce1a944249d372655081e8f32 (patch) | |
tree | e07e4be45dc1b9aa9a37590d3e8182e1ca00a390 /games/freera | |
parent | 7fcf81ff3dba0ddab5a3596f6f670364f818308b (diff) |
- Fix build with custom PREFIX/LOCALBASE
Reported by: QATty
Notes
Notes:
svn path=/head/; revision=235863
Diffstat (limited to 'games/freera')
-rw-r--r-- | games/freera/files/SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/freera/files/SConstruct b/games/freera/files/SConstruct index dc6eff348821..38790806b03e 100644 --- a/games/freera/files/SConstruct +++ b/games/freera/files/SConstruct @@ -13,7 +13,7 @@ exclude = ["src/misc/fibheap.cpp"] source = filter(lambda x: x not in exclude, source) env = Environment( CPPPATH = ["#/src/include", "#/src/include/lua"], - LIBS = [ "SDL_mixer"] ) + LIBS = [ "SDL_mixer"], ENV = environ ) for key in [ 'CC', 'CCFLAGS', 'CXX', 'CXXFLAGS' ]: if environ.has_key(key): @@ -22,6 +22,6 @@ for key in [ 'CC', 'CCFLAGS', 'CXX', 'CXXFLAGS' ]: env.Append( CCFLAGS = [ "-Wall", "-Wconversion", "-Wno-unused-parameter" ], CXXFLAGS = [ "-Wall", "-Wconversion", "-Wno-unused-parameter" ] ) -env.ParseConfig("sdl-config --cflags --libs") +env.ParseConfig(environ["SDL_CONFIG"] + " --cflags --libs") env.Program(target = "freera", source = source) |