From 62766b6491a0ea2ebdf3299d1c379c74eab85c77 Mon Sep 17 00:00:00 2001 From: lizzie Date: Tue, 25 Nov 2025 00:22:54 +0000 Subject: [PATCH] netbsd stuff --- docs/Caveats.md | 6 +++++- docs/Deps.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/Caveats.md b/docs/Caveats.md index ac847d052d..96e5ac04c0 100644 --- a/docs/Caveats.md +++ b/docs/Caveats.md @@ -103,7 +103,9 @@ System provides a default `g++-10` which doesn't support the current C++ codebas Make may error out when generating C++ headers of SPIRV shaders, hence it's recommended to use `gmake` over the default system one. -glslang is not available on NetBSD, to circumvent this simply build glslang by yourself: +[parallel/spirv-tools](https://iso.us.netbsd.org/pub/pkgsrc/current/pkgsrc/parallel/spirv-tools/index.html) isn't available in binary form and must be build from source. + +Such that glslang is not available on NetBSD, to circumvent this simply build glslang by yourself: ```sh pkgin python313 git clone --depth=1 https://github.com/KhronosGroup/glslang.git @@ -114,6 +116,8 @@ cmake --build build -- -j`nproc` cmake --install build ``` +However, pkgsrc is highly recommended, see [getting pkgsrc](https://iso.us.netbsd.org/pub/pkgsrc/current/pkgsrc/doc/pkgsrc.html#getting). You must get `current` not the `2025Q2` version. + # DragonFlyBSD If `libstdc++.so.6` is not found (`GLIBCXX_3.4.30`) then attempt: diff --git a/docs/Deps.md b/docs/Deps.md index 8b696a0213..b26b6ff964 100644 --- a/docs/Deps.md +++ b/docs/Deps.md @@ -253,7 +253,7 @@ If using FreeBSD 12 or prior, use `devel/pkg-config` instead.
NetBSD -For NetBSD +10.1: `pkgin install git cmake boost fmtlib SDL2 catch2 libjwt spirv-headers ffmpeg7 libva nlohmann-json jq libopus qt6 mbedtls3 cpp-httplib lz4 vulkan-headers nasm autoconf enet pkg-config libusb1 spirv-headers`. +For NetBSD +10.1: `pkgin install git cmake boost fmtlib SDL2 catch2 libjwt spirv-headers ffmpeg7 libva nlohmann-json jq libopus qt6 mbedtls3 cpp-httplib lz4 vulkan-headers nasm autoconf enet pkg-config libusb1`. [Caveats](./Caveats.md#netbsd).