summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-23 12:30:38 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-23 12:30:38 +0000
commit099b780fcaf556c283edd4fd868bb7fa0db9c33b (patch)
treea7df74e7fd4a248fb8eca929fa749d7b1b582c16
parentdeskutils/ultralist: Update to 1.5 (diff)
games/solarus: enable luajit on powerpc64 using luajit-openresty
Notes
Notes: svn path=/head/; revision=549721
-rw-r--r--games/solarus/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/games/solarus/Makefile b/games/solarus/Makefile
index a4d076fcbe96..aeb38da01366 100644
--- a/games/solarus/Makefile
+++ b/games/solarus/Makefile
@@ -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
@@ -42,4 +44,10 @@ 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>