svn commit: r505627 - head/games/tome4
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Jul 1 18:08:46 UTC 2019
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)
More information about the svn-ports-all
mailing list