--- SConstruct.old 2011-06-04 05:26:55.000000000 +0000 +++ SConstruct 2012-07-19 02:39:41.159930854 +0000 @@ -62,7 +62,7 @@ if env['GTK']: # Add compiler and linker flags from pkg-config - env.ParseConfig('pkg-config --cflags --libs gtk+-2.0') + env.ParseConfig('export PKG_CONFIG_PATH=/apps/gtk2/lib/pkgconfig && pkg-config --cflags --libs gtk+-2.0') env.Append(CPPDEFINES=["_GTK2"]) env.Append(CCFLAGS = ["-D_GTK"]) if env['GTK3']: @@ -95,7 +95,7 @@ conf.env.Append(CCFLAGS = "-DOPENGL") conf.env.Append(CPPDEFINES = ['PSS_STYLE=1']) # parse SDL cflags/libs - env.ParseConfig('sdl-config --cflags --libs') + env.ParseConfig('/apps/fceux/localbin/sdl-config --cflags --libs') env = conf.Finish() @@ -139,4 +139,4 @@ # TODO: Fix this build script to gracefully install auxlib and the man page #env.Alias(target="install", source=env.Install(dir="/usr/local/bin/", source=("bin/fceux", "bin/auxlib.lua"))) -env.Alias(target="install", source=env.Install(dir="/usr/local/bin/", source="bin/fceux")) +env.Alias(target="install", source=env.Install(dir="/apps/fceux/localbin/", source="bin/fceux"))