svn commit: r363908 - head/games/tome4
Adam Weinberger
adamw at FreeBSD.org
Sun Aug 3 15:11:27 UTC 2014
Author: adamw
Date: Sun Aug 3 15:11:27 2014
New Revision: 363908
URL: http://svnweb.freebsd.org/changeset/ports/363908
QAT: https://qat.redports.org/buildarchive/r363908/
Log:
This fixes games/tome4 after devel/premake4 update to 4.4-beta5
The new premake4 seems to hardcode "gcc" regardless of CC, command line flags,
etc., and not in a way environment for gmake can override this.
The patch fixes output of premake4 before running gmake. It a no-op on systems
with premake4 4.3 and doesn't change the package on systems where tome4 already
builds.
PR: 192291
Palindromic PR: yes
Submitted by: maintainer
Modified:
head/games/tome4/Makefile
Modified: head/games/tome4/Makefile
==============================================================================
--- head/games/tome4/Makefile Sun Aug 3 14:56:38 2014 (r363907)
+++ head/games/tome4/Makefile Sun Aug 3 15:11:27 2014 (r363908)
@@ -31,12 +31,10 @@ 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)
+ @${REINPLACE_CMD} 's|gcc|${CC}|' ${WRKSRC}/build/*.make
@${REINPLACE_CMD} 's|-lpthread|-pthread|' ${WRKSRC}/build/TEngine.make
do-install:
More information about the svn-ports-all
mailing list