Skip to content

Commit

Permalink
games/hedgewars: prepare for cmake-3.24
Browse files Browse the repository at this point in the history
Obtained from:	Arch Linux
PR:		265652
  • Loading branch information
tcberner committed Sep 8, 2022
1 parent 136a6b0 commit 8fac410
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions games/hedgewars/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fac410

Please sign in to comment.