From owner-svn-ports-head@freebsd.org Fri Nov 11 21:37:39 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA1E8C3BF36; Fri, 11 Nov 2016 21:37:39 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 754C71FEC; Fri, 11 Nov 2016 21:37:39 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uABLbcQw051195; Fri, 11 Nov 2016 21:37:38 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uABLbcWj051194; Fri, 11 Nov 2016 21:37:38 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201611112137.uABLbcWj051194@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Fri, 11 Nov 2016 21:37:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425910 - head/games/tome4 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2016 21:37:39 -0000 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: