From 077e66947d262a52f298de5a525d6aafd3f20a88 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Sat, 2 Aug 2014 16:45:09 +0000 Subject: [PATCH] Un-hardcode gcc. --- games/tome4/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/games/tome4/Makefile b/games/tome4/Makefile index bb038ebac130..e152ed24b7ec 100644 --- a/games/tome4/Makefile +++ b/games/tome4/Makefile @@ -31,6 +31,9 @@ USE_CSTD= gnu89 SUB_FILES= tome4 MAKE_JOBS_UNSAFE=yes +post-patch: + @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/src/lua/Makefile \ + ${WRKSRC}/src/luabitop/Makefile ${WRKSRC}/build/te4core.lua pre-build: @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/premake4.lua (cd ${WRKSRC} && premake4 gmake)