From 0e5ecd460390526016551a15cb8cb8ac9e37c346 Mon Sep 17 00:00:00 2001 From: Offshore Monero Date: Thu, 1 Dec 2022 04:27:48 +0000 Subject: [PATCH 1/2] Turn readline off on OpenBSD because it is broken --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c0846280c..45bc12712 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1136,7 +1136,9 @@ if (HIDAPI_FOUND OR LibUSB_COMPILE_TEST_PASSED) endif() endif() -option(USE_READLINE "Build with GNU readline support." ON) +if(NOT OPENBSD) + option(USE_READLINE "Build with GNU readline support." ON) +endif() if(USE_READLINE AND NOT DEPENDS) find_package(Readline) if(READLINE_FOUND AND GNU_READLINE_FOUND) From 6558e7e2c6e0c9b4a33dff76e7fc7bc20cd89a2b Mon Sep 17 00:00:00 2001 From: Offshore Monero Date: Thu, 1 Dec 2022 04:28:46 +0000 Subject: [PATCH 2/2] Correct/modernize build instructions for OpenBSD --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0249c084a..c5b22b07e 100644 --- a/README.md +++ b/README.md @@ -511,9 +511,9 @@ Monero is also available as a port or package as `monero-cli`. You will need to add a few packages to your system. `pkg_add cmake gmake zeromq libiconv boost`. The `doxygen` and `graphviz` packages are optional and require the xbase set. -Running the test suite also requires `py-requests` package. +Running the test suite also requires `py3-requests` package. -Build monero: `env DEVELOPER_LOCAL_TOOLS=1 BOOST_ROOT=/usr/local gmake release-static` +Build monero: `gmake` Note: you may encounter the following error when compiling the latest version of Monero as a normal user: