Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Bronnikov via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: tarantool-patches@dev.tarantool.org,
	Sergey Kaplun <skaplun@tarantool.org>,
	e.temirgaleev@tarantool.org
Cc: Sergey Bronnikov <segreyb@tarantool.org>
Subject: [Tarantool-patches] [PATCH luajit 2/3] cmake: allow using CMake build system in OpenBSD
Date: Mon, 26 Oct 2026 16:25:14 +0300	[thread overview]
Message-ID: <601e699b98536229c08de9710fc26908371c3eb2.1793019660.git.estetus@gmail.com> (raw)
In-Reply-To: <cover.1793019660.git.estetus@gmail.com>

From: Sergey Bronnikov <segreyb@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


  parent reply	other threads:[~2026-10-26 13:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-26 13:24 [Tarantool-patches] [PATCH luajit 0/3] OpenBSD support in a build system Sergey Bronnikov via Tarantool-patches
2026-10-26 13:24 ` [Tarantool-patches] [PATCH luajit 1/3] cmake: omit -ldl for OpenBSD in SetTargetFlags() Sergey Bronnikov via Tarantool-patches
2026-10-26 13:25 ` Sergey Bronnikov via Tarantool-patches [this message]
2026-10-26 13:25 ` [Tarantool-patches] [PATCH luajit 3/3] cmake: make Git optional in SetVersion() Sergey Bronnikov via Tarantool-patches
2026-10-29 14:58 ` [Tarantool-patches] [PATCH luajit 0/3] OpenBSD support in a build system Sergey Kaplun via Tarantool-patches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=601e699b98536229c08de9710fc26908371c3eb2.1793019660.git.estetus@gmail.com \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=e.temirgaleev@tarantool.org \
    --cc=estetus@gmail.com \
    --cc=segreyb@tarantool.org \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit 2/3] cmake: allow using CMake build system in OpenBSD' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox