Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2016 21:37:38 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425910 - head/games/tome4
Message-ID:  <201611112137.uABLbcWj051194@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611112137.uABLbcWj051194>