svn commit: r549711 - head/games/minetest

Piotr Kubaj pkubaj at FreeBSD.org
Wed Sep 23 12:07:53 UTC 2020


Author: pkubaj
Date: Wed Sep 23 12:07:52 2020
New Revision: 549711
URL: https://svnweb.freebsd.org/changeset/ports/549711

Log:
  games/minetest: enable luajit on powerpc64
  
  This port builds when using luajit-openresty.

Modified:
  head/games/minetest/Makefile

Modified: head/games/minetest/Makefile
==============================================================================
--- head/games/minetest/Makefile	Wed Sep 23 12:06:23 2020	(r549710)
+++ head/games/minetest/Makefile	Wed Sep 23 12:07:52 2020	(r549711)
@@ -3,6 +3,7 @@
 
 PORTNAME=	minetest
 PORTVERSION=	5.3.0
+PORTREVISION=	1
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3 at 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
@@ -84,6 +84,10 @@ NLS_USES=		gettext
 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


More information about the svn-ports-all mailing list