summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-10-13 16:00:04 +0200
committerMarek Szuba <marecki@gentoo.org>2020-10-13 18:47:34 +0200
commit3af402bb34f314334ec7496a9fec777e197b7b99 (patch)
treeed8bd0c34d80c54ab92884980dfa5ffe88862008 /dev-lua/toluapp/files
parentdev-lua/messagepack: migrate to lua.eclass (diff)
downloadgentoo-3af402bb34f314334ec7496a9fec777e197b7b99.tar.gz
gentoo-3af402bb34f314334ec7496a9fec777e197b7b99.tar.bz2
gentoo-3af402bb34f314334ec7496a9fec777e197b7b99.zip
dev-lua/toluapp: migrate to lua-single.eclass
Does not support Lua versions newer than 5.1 so didn't even bother adapting this to multi-impl. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-lua/toluapp/files')
-rw-r--r--dev-lua/toluapp/files/toluapp-1.0.93_p20190513-lua-version.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lua/toluapp/files/toluapp-1.0.93_p20190513-lua-version.patch b/dev-lua/toluapp/files/toluapp-1.0.93_p20190513-lua-version.patch
new file mode 100644
index 000000000000..fda6c253c2e6
--- /dev/null
+++ b/dev-lua/toluapp/files/toluapp-1.0.93_p20190513-lua-version.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -8,7 +8,7 @@
+ cmake_minimum_required ( VERSION 2.8 )
+ include ( cmake/dist.cmake )
+
+-find_package ( Lua REQUIRED )
++find_package ( Lua ${LUA_VERSION} EXACT REQUIRED )
+ include_directories ( include src/lib ${LUA_INCLUDE_DIR} )
+
+ # Build lib