aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-23 12:07:52 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-23 12:07:52 +0000
commit5b7a14fcb9ba2bee1adb4c3337696ffc4b7cac7b (patch)
treec6872448da1b2bde2109b587296102922490b56d /games
parentc8a2f4d76ad62412921864d4c9877453707fc571 (diff)
downloadports-5b7a14fcb9ba2bee1adb4c3337696ffc4b7cac7b.tar.gz
ports-5b7a14fcb9ba2bee1adb4c3337696ffc4b7cac7b.zip
games/minetest: enable luajit on powerpc64
This port builds when using luajit-openresty.
Notes
Notes: svn path=/head/; revision=549711
Diffstat (limited to 'games')
-rw-r--r--games/minetest/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/minetest/Makefile b/games/minetest/Makefile
index afa3aa47ac21..baea6855019f 100644
--- a/games/minetest/Makefile
+++ b/games/minetest/Makefile
@@ -3,6 +3,7 @@
PORTNAME= minetest
PORTVERSION= 5.3.0
+PORTREVISION= 1
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
@@ -39,7 +40,6 @@ OPTIONS_GROUP_DATABASE= PGSQL LEVELDB REDIS SPATIAL
OPTIONS_DEFAULT= CLIENT SERVER \
CURL SOUND FREETYPE NCURSES LUAJIT
-OPTIONS_EXCLUDE_powerpc64= LUAJIT
OPTIONS_SUB= yes
CLIENT_DESC= Build client
@@ -85,6 +85,10 @@ NLS_LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
+.if ${ARCH} == powerpc64
+LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
+.endif
+
.if ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MSOUND}
USES+= openal
LIB_DEPENDS+= libvorbis.so:audio/libvorbis \