Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2019 18:08:46 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505627 - head/games/tome4
Message-ID:  <201907011808.x61I8kpw011456@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Jul  1 18:08:45 2019
New Revision: 505627
URL: https://svnweb.freebsd.org/changeset/ports/505627

Log:
  games/tome4: fix build on powerpc64, add USES=gl
  
  There's no luajit for powerpc64.
  
  PR:		238598
  Approved by:	lifanov (maintainer timeout), tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20820

Modified:
  head/games/tome4/Makefile

Modified: head/games/tome4/Makefile
==============================================================================
--- head/games/tome4/Makefile	Mon Jul  1 17:56:48 2019	(r505626)
+++ head/games/tome4/Makefile	Mon Jul  1 18:08:45 2019	(r505627)
@@ -25,7 +25,7 @@ DESKTOP_ENTRIES="ToME 4" "" "${PORTNAME}" \
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 WRKSRC=		${WRKDIR}/t-engine4-src-${PORTVERSION}
 MAKE_ARGS+=	config=release verbose=yes ARCH="" CC=${CC}
-USES=		gmake openal:al tar:bzip2
+USES=		gl gmake openal:al tar:bzip2
 USE_SDL=	image2 sdl2 ttf2
 USE_GL=		gl glu
 USE_CSTD=	gnu89
@@ -36,7 +36,7 @@ LLD_UNSAFE=	yes
 
 pre-build:
 	@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/premake4.lua
-.if ${ARCH} == aarch64
+.if ${ARCH} == aarch64 || ${ARCH} == powerpc64
 	(cd ${WRKSRC} && premake4 --lua=default gmake)
 .else
 	(cd ${WRKSRC} && premake4 gmake)



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