diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-06-15 23:19:21 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-06-15 23:19:21 +0800 |
commit | 07874905b0bd49d9503cbc6e4003451487ef4d47 (patch) | |
tree | 2db8102fbcda3a2d91d0d94e4e3f9adc2e508741 /games | |
parent | e613a2bbcfaeb7ab43557abc8be73a24a5a6b503 (diff) | |
download | freebsd-ports-gnome-07874905b0bd49d9503cbc6e4003451487ef4d47.tar.gz freebsd-ports-gnome-07874905b0bd49d9503cbc6e4003451487ef4d47.tar.zst freebsd-ports-gnome-07874905b0bd49d9503cbc6e4003451487ef4d47.zip |
- Fix with custom PREFIX/LOCALBASE
Reported by: QATty
Diffstat (limited to 'games')
-rw-r--r-- | games/palomino/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/games/palomino/Makefile b/games/palomino/Makefile index 6041f9376439..07680e664bc3 100644 --- a/games/palomino/Makefile +++ b/games/palomino/Makefile @@ -55,6 +55,8 @@ LIB_DEPENDS+= fltk.1:${PORTSDIR}/x11-toolkits/fltk .endif post-patch: + @${FIND} ${WRKSRC}/CMakeModules -type f -print0 | ${XARGS} -0 \ + ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' @${REINPLACE_CMD} -e '/COMMAND/ s|lua|${LUA_CMD}|' \ ${WRKSRC}/build/lua_bind/CMakeLists.txt .if defined(WITHOUT_JOYSTICK) |