diff options
-rw-r--r-- | games/hedgewars/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/hedgewars/Makefile b/games/hedgewars/Makefile index 927938d2f5f1..5f023a5adc08 100644 --- a/games/hedgewars/Makefile +++ b/games/hedgewars/Makefile @@ -59,6 +59,10 @@ VIDEOREC_CMAKE_OFF= -DNOVIDEOREC=1 BUILD_DEPENDS+= ghc:lang/ghc .endif +post-extract: + # Remove included CMakeFile, which is incompatible with >= cmake-3.24 + ${RM} ${WRKSRC}/cmake_modules/CMakeSystemSpecificInformation.cmake + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/cmake_modules/*.cmake @${REINPLACE_CMD} -e "s|'liblua'|'liblua-${LUA_VER}'|" ${WRKSRC}/hedgewars/LuaPas.pas |