mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
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:
committed by
Sam James
parent
2751c90511
commit
2504baebd7
@@ -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
|
||||
|
||||
@@ -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})
|
||||
Reference in New Issue
Block a user