svn commit: r425910 - head/games/tome4
Matthew Seaman
matthew at FreeBSD.org
Fri Nov 11 21:37:39 UTC 2016
Author: matthew
Date: Fri Nov 11 21:37:38 2016
New Revision: 425910
URL: https://svnweb.freebsd.org/changeset/ports/425910
Log:
Use the portable vesion of luajit when building on aarch64
PR: 214411
Submitted by: lifanov at mail.lifanov.com (maintainer)
MFH: 2016Q4
Modified:
head/games/tome4/Makefile
Modified: head/games/tome4/Makefile
==============================================================================
--- head/games/tome4/Makefile Fri Nov 11 21:05:27 2016 (r425909)
+++ head/games/tome4/Makefile Fri Nov 11 21:37:38 2016 (r425910)
@@ -20,8 +20,6 @@ BUILD_DEPENDS= premake4:devel/premake4
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \
libpng16.so:graphics/png
-BROKEN_aarch64= Fails to build: No support for this architecture (yet)
-
DESKTOP_ENTRIES="ToME 4" "" "${PORTNAME}" \
"${PORTNAME}" "Game;RolePlaying;" ""
@@ -35,9 +33,14 @@ USE_CSTD= gnu89
SUB_FILES= tome4
MAKE_JOBS_UNSAFE=yes
+LUA_TYPE=
pre-build:
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/premake4.lua
+.if ${ARCH} == aarch64
+ (cd ${WRKSRC} && premake4 --lua=default gmake)
+.else
(cd ${WRKSRC} && premake4 gmake)
+.endif
@${REINPLACE_CMD} 's|-lpthread|-pthread|' ${WRKSRC}/build/TEngine.make
do-install:
More information about the svn-ports-all
mailing list