From 570aa4c79552ceaa3ee20e02b4e4bd7855bc4d83 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Mon, 21 Dec 2020 23:27:09 +0000 Subject: app-editors/texworks: migrate to lua-single.eclass The usual CMake find_package(Lua) version dance. Lua compatibility as per the bundled FindLua.cmake. Closes: https://bugs.gentoo.org/752534 Signed-off-by: Marek Szuba --- .../texworks/files/texworks-0.6.5-cmake_lua_version.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app-editors/texworks/files/texworks-0.6.5-cmake_lua_version.patch (limited to 'app-editors/texworks/files/texworks-0.6.5-cmake_lua_version.patch') diff --git a/app-editors/texworks/files/texworks-0.6.5-cmake_lua_version.patch b/app-editors/texworks/files/texworks-0.6.5-cmake_lua_version.patch new file mode 100644 index 000000000000..630443d5f119 --- /dev/null +++ b/app-editors/texworks/files/texworks-0.6.5-cmake_lua_version.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -297,7 +297,7 @@ + # ------------------------------- + + IF ( WITH_LUA ) +- FIND_PACKAGE(Lua) ++ FIND_PACKAGE(Lua ${LUA_VERSION} EXACT REQUIRED) + ENDIF() + + IF ( WITH_PYTHON ) -- cgit v1.2.3-65-gdbad