Created attachment 206161 [details] patch Luajit seems to be only available on amd64, i386 and powerpc (32-bit). Use standard Lua on other architectures.
I have tried a couple of different things, but I can't get this to build on powerpc64: CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Lua51 (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)
Created attachment 209743 [details] v2 Is that patch ok? It adds LUAJIT option for using Lua or LuaJIT and fixes some portlint issues (hence PORTREVISION bump).
A commit references this bug: Author: danilo Date: Mon Dec 9 22:16:02 UTC 2019 New revision: 519637 URL: https://svnweb.freebsd.org/changeset/ports/519637 Log: - Unbreak where luajit is unavailable by using lua instead - Add LUAJIT option and enable it by default for architecures where it's supported PR: 239538 Submitted by: pkubaj Changes: head/games/solarus/Makefile head/games/solarus/pkg-plist
Committed, thanks!