aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-03 00:45:09 +0800
committeradamw <adamw@FreeBSD.org>2014-08-03 00:45:09 +0800
commit12190bf5daf8ddf283ab1415b7acad6204619d62 (patch)
tree9a7ebd5404e8ba821552ae65d8687aae83bf45b7 /games
parentc9d51da9f75b64278c8e2172d9fc566ead1ac67e (diff)
downloadfreebsd-ports-gnome-12190bf5daf8ddf283ab1415b7acad6204619d62.tar.gz
freebsd-ports-gnome-12190bf5daf8ddf283ab1415b7acad6204619d62.tar.zst
freebsd-ports-gnome-12190bf5daf8ddf283ab1415b7acad6204619d62.zip
Un-hardcode gcc.
Diffstat (limited to 'games')
-rw-r--r--games/tome4/Makefile3
1 files changed, 3 insertions, 0 deletions
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)