diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-06-17 09:59:22 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-06-17 09:59:22 +0800 |
commit | c326cfcd8731abf53fc8fb03d0c89e9b2c7845f0 (patch) | |
tree | e018669b234bbcb54244f3cf1d87375f1f2d0b39 /games/windstille | |
parent | 4ac386fa1b1c85664cfab48c6f8c21bc922e2639 (diff) | |
download | freebsd-ports-gnome-c326cfcd8731abf53fc8fb03d0c89e9b2c7845f0.tar.gz freebsd-ports-gnome-c326cfcd8731abf53fc8fb03d0c89e9b2c7845f0.tar.zst freebsd-ports-gnome-c326cfcd8731abf53fc8fb03d0c89e9b2c7845f0.zip |
- Fix build with nondefault PREFIX/LOCALBASE
- Mark MAKE_JOBS_SAFE
Reported by: QATty
Diffstat (limited to 'games/windstille')
-rw-r--r-- | games/windstille/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/games/windstille/Makefile b/games/windstille/Makefile index c320661c48b9..77f8e78aa900 100644 --- a/games/windstille/Makefile +++ b/games/windstille/Makefile @@ -29,6 +29,7 @@ USE_SCONS= yes USE_GL= gl USE_SDL= sdl image USE_BISON= build +MAKE_JOBS_SAFE= yes post-extract: @${RM} -rf ${WRKSRC}/lib ${WRKSRC}/data/music/* @@ -40,6 +41,8 @@ post-patch: ${WRKSRC}/src/SConscript @${REINPLACE_CMD} -e 's|PHYSFS_getBaseDir()|""|' ${WRKSRC}/src/windstille_main.cpp @${REINPLACE_CMD} -e 's|bison|${LOCALBASE}/bin/&|' ${WRKSRC}/tools/SConscript + @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|; s|freetype-config|${LOCALBASE}/bin/&|' \ + ${WRKSRC}/SConstruct ${WRKSRC}/src/SConscript do-install: ${INSTALL_PROGRAM} ${WRKSRC}/windstille ${PREFIX}/bin/ |