aboutsummaryrefslogtreecommitdiff
path: root/games/palomino
diff options
context:
space:
mode:
Diffstat (limited to 'games/palomino')
-rw-r--r--games/palomino/Makefile2
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)