MFH: r566992

multimedia/arcan: use luajit-openresty on all architectures

lang/luajit hasn't been updated in years. Alpine, Debian, Fedora,
Gentoo, Guix, Mageia, Nix, Void updated to 2.1.0 beta3 or snapshot.
Of those Guix and Void have Arcan package. So, switch to 2.1 as well
for better stability and non-x86 support.

https://github.com/letoram/arcan/commit/b1290c6485db
This commit is contained in:
Jan Beich 2021-03-02 22:08:19 +00:00
parent d5607cf02d
commit 30e1063ec5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=566994

View File

@ -2,7 +2,7 @@
PORTNAME= arcan
DISTVERSION= 0.6.0.1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@ -35,7 +35,6 @@ LDFLAGS_i386= -Wl,-z,notext
OPTIONS_DEFINE= ESPEAK FFMPEG LUAJIT SDL SUID TESSERACT UVC VLC VNC WAYLAND
OPTIONS_DEFAULT=ESPEAK FFMPEG LUAJIT SDL SUID TESSERACT UVC VLC VNC WAYLAND
OPTIONS_EXCLUDE_aarch64= LUAJIT # bug 225342
OPTIONS_SUB= yes
ESPEAK_DESC= Text to speech via eSpeak
@ -44,7 +43,7 @@ ESPEAK_LIB_DEPENDS= libespeak.so:audio/espeak
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
LUAJIT_DESC= Use LuaJIT instead of standard Lua
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
LUAJIT_USES_OFF= lua:51
LUAJIT_CMAKE_BOOL_OFF= DISABLE_JIT
@ -78,12 +77,6 @@ WAYLAND_USES= xorg
WAYLAND_USE= XORG=xcb
WAYLAND_CMAKE_BOOL_OFF= DISABLE_WAYLAND
.include <bsd.port.options.mk>
.if ${ARCH:Mpowerpc64*}
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
.endif
post-patch:
@${REINPLACE_CMD} -i.prefix 's,/usr/local,${PREFIX},g' \
${WRKSRC:H}/doc/${PORTNAME}.1 \