Un-hardcode gcc.

This commit is contained in:
Adam Weinberger 2014-08-02 16:45:09 +00:00
parent 9b4ce43c01
commit 077e66947d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363824

View file

@ -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)