diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-06-15 21:46:01 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-06-15 21:46:01 +0800 |
commit | 5f7a9a94170f0ff694a4b5dbe8b852af8a7feb61 (patch) | |
tree | 92c0f2a397089ade65dc97b4c48cc17f083c714c /games/freera | |
parent | 9bc7aa5429e6d796d3859ed6a1196dd02abdf047 (diff) | |
download | freebsd-ports-gnome-5f7a9a94170f0ff694a4b5dbe8b852af8a7feb61.tar.gz freebsd-ports-gnome-5f7a9a94170f0ff694a4b5dbe8b852af8a7feb61.tar.zst freebsd-ports-gnome-5f7a9a94170f0ff694a4b5dbe8b852af8a7feb61.zip |
- Fix build with custom PREFIX/LOCALBASE
Reported by: QATty
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) |