Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 12:07:52 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549711 - head/games/minetest
Message-ID:  <202009231207.08NC7qXb064859@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009231207.08NC7qXb064859>