games-simulation/corsix-th: sync live, readded keyword for ppc64

Signed-off-by: Sebastian Engel <sighunter@gmx.de>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1764
Merges: https://codeberg.org/gentoo/gentoo/pulls/1764
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sebastian Engel
2026-08-30 01:12:49 +02:00
committed by Sam James
parent 2751c90511
commit 2504baebd7
2 changed files with 28 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ else
S="${WORKDIR}/${MY_P}"
if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
fi
fi
@@ -68,7 +68,7 @@ BDEPEND="
"
PATCHES=(
"${FILESDIR}"/${PN}-0.67-cmake_lua_detection.patch
"${FILESDIR}"/${PN}-9999-cmake_lua_detection.patch
)
lua_enable_tests busted

View File

@@ -0,0 +1,26 @@
diff --git a/CMake/GenerateDoc.cmake b/CMake/GenerateDoc.cmake
index f8b9ec8b..ac90134d 100644
--- a/CMake/GenerateDoc.cmake
+++ b/CMake/GenerateDoc.cmake
@@ -19,7 +19,7 @@ endif()
find_program(
LUA_PROGRAM_PATH
- ${LUA_PROGRAM_NAMES}
+ lua${LUA_VERSION}
PATHS
ENV LUA_DIR
/opt
diff --git a/CorsixTH/CMakeLists.txt b/CorsixTH/CMakeLists.txt
index b0695a78..06467177 100644
--- a/CorsixTH/CMakeLists.txt
+++ b/CorsixTH/CMakeLists.txt
@@ -125,7 +125,7 @@ if(VCPKG_TARGET_TRIPLET)
target_include_directories(CorsixTH_lib PUBLIC ${LUA_INCLUDE_DIRS})
target_link_libraries(CorsixTH_lib PUBLIC ${LUA_LIBRARIES})
else()
- find_package(Lua REQUIRED)
+ find_package(Lua ${LUA_VERSION} EXACT REQUIRED)
if(Lua_FOUND OR LUA_FOUND)
target_link_libraries(CorsixTH_lib PUBLIC ${LUA_LIBRARY})
include_directories(${LUA_INCLUDE_DIR})