[Tarantool-patches] [PATCH luajit 2/3] cmake: allow using CMake build system in OpenBSD

Sergey Bronnikov estetus at gmail.com
Mon Oct 26 16:25:14 MSK 2026


From: Sergey Bronnikov <segreyb at tarantool.org>

The bundled LuaJIT CMake build refuses any host but
Linux/Darwin/FreeBSD ("Please use the old build system"); accept
OpenBSD. The patch fixes that.

Needed for the OpenBSD port.
---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 73f46835..091d5b70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,7 +27,8 @@ project(LuaJIT C)
 if(NOT(
    CMAKE_SYSTEM_NAME STREQUAL "Linux" OR
    CMAKE_SYSTEM_NAME STREQUAL "Darwin" OR
-   CMAKE_SYSTEM_NAME STREQUAL "FreeBSD"
+   CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR
+   CMAKE_SYSTEM_NAME STREQUAL "OpenBSD"
 ))
   message(FATAL_ERROR
     "Please use the old build system:\n\tmake -f Makefile.original <options>"
-- 
2.56.0



More information about the Tarantool-patches mailing list