diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-12-23 11:46:26 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-12-23 11:48:41 +0000 |
commit | 73b87ef1bb28bd52657bcbb89e22c32e4a46579f (patch) | |
tree | 28dde32c630ce8764d5f6f789db01e2841b2d150 /sci-geosciences/osm2pgsql/files/osm2pgsql-1.4.0-cmake_lua_version.patch | |
parent | dev-java/javatoolkit: removed obsolete 0.6.3 (diff) | |
download | gentoo-73b87ef1bb28bd52657bcbb89e22c32e4a46579f.tar.gz gentoo-73b87ef1bb28bd52657bcbb89e22c32e4a46579f.tar.bz2 gentoo-73b87ef1bb28bd52657bcbb89e22c32e4a46579f.zip |
sci-geosciences/osm2pgsql: migrate to lua-single.eclass
The usual CMake deal. According to upstream scripts supports all the Lua
implementations currently in the tree, I have confirmed that it builds
and installs (tests are restricted) fine against: lua5.1, lua5.4, and luajit.
Both the latest release and the live ebuild.
Closes: https://bugs.gentoo.org/752834
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sci-geosciences/osm2pgsql/files/osm2pgsql-1.4.0-cmake_lua_version.patch')
-rw-r--r-- | sci-geosciences/osm2pgsql/files/osm2pgsql-1.4.0-cmake_lua_version.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-geosciences/osm2pgsql/files/osm2pgsql-1.4.0-cmake_lua_version.patch b/sci-geosciences/osm2pgsql/files/osm2pgsql-1.4.0-cmake_lua_version.patch new file mode 100644 index 000000000000..d7f35345ef52 --- /dev/null +++ b/sci-geosciences/osm2pgsql/files/osm2pgsql-1.4.0-cmake_lua_version.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -185,7 +185,7 @@ + include_directories(SYSTEM ${LUAJIT_INCLUDE_DIR}) + set(HAVE_LUAJIT 1) + else() +- find_package(Lua REQUIRED) ++ find_package(Lua ${LUA_VERSION} EXACT REQUIRED) + include_directories(SYSTEM ${LUA_INCLUDE_DIR}) + endif() + set(HAVE_LUA 1) |