svn commit: r549721 - head/games/solarus

Piotr Kubaj pkubaj at FreeBSD.org
Wed Sep 23 12:30:39 UTC 2020


Author: pkubaj
Date: Wed Sep 23 12:30:38 2020
New Revision: 549721
URL: https://svnweb.freebsd.org/changeset/ports/549721

Log:
  games/solarus: enable luajit on powerpc64 using luajit-openresty

Modified:
  head/games/solarus/Makefile

Modified: head/games/solarus/Makefile
==============================================================================
--- head/games/solarus/Makefile	Wed Sep 23 12:25:47 2020	(r549720)
+++ head/games/solarus/Makefile	Wed Sep 23 12:30:38 2020	(r549721)
@@ -2,6 +2,7 @@
 
 PORTNAME=	solarus
 PORTVERSION=	1.6.4
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	games
 
@@ -34,6 +35,7 @@ OPTIONS_DEFINE=	LUAJIT
 OPTIONS_DEFAULT_amd64=	LUAJIT
 OPTIONS_DEFAULT_i386=	LUAJIT
 OPTIONS_DEFAULT_powerpc=	LUAJIT
+OPTIONS_DEFAULT_powerpc64=	LUAJIT
 
 LUAJIT_CMAKE_BOOL=	SOLARUS_USE_LUAJIT
 LUAJIT_DESC=	Use LuaJIT instead of standard Lua
@@ -41,5 +43,11 @@ LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit
 LUAJIT_USES_OFF=	lua:51
 
 CMAKE_ARGS+=	-DSOLARUS_MANUAL_INSTALL_DESTINATION:STRING="man"
+
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit-openresty
+.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list