[Bug 269122] games/jaggedalliance2: update to 0.20.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 Jan 2023 12:46:24 UTC

--- Comment #2 from Dmitry Marakasov <amdmi3@FreeBSD.org> ---
The patch is outdated (3 PORTREVISION bumps missed), but builds fine.

There are Q/A problems:

====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/ja2 is linked to /usr/local/lib/liblua-5.4.so from
lang/lua54 but it is not declared as a dependency
Warning: you need USES+=lua

Should be fixed like this:

--- dependencies/lib-lua/CMakeLists.txt.orig    2022-11-11 20:19:16 UTC
+++ dependencies/lib-lua/CMakeLists.txt
@@ -3,7 +3,7 @@
 option(LOCAL_LUA_LIB "Download and build Lua instead of searching the system"
     message(STATUS "Using system Lua")
-    find_package(Lua "5.3" REQUIRED)
+    find_package(Lua "5.3" REQUIRED EXACT)
     if (NOT LUA_FOUND)
         message(FATAL_ERROR "Lua 5.3 not found")

You are receiving this mail because:
You are the assignee for the bug.