From fcef663869df48c071ff3a6564da4d56465ba49c Mon Sep 17 00:00:00 2001 From: Emily Trau Date: Tue, 6 Jun 2023 14:11:15 -0700 Subject: [PATCH] Ports/nhlohmann-json: Fix pkgconf install path CMAKE_INSTALL_DATADIR is used to define the install base dir for pkgconf files. In this case it defaulted to /usr/local/share/pkgconf which is not a location searched by default. See https://github.com/nlohmann/json/blob/a0c1318830519eac027a31edec1a99ce1ae5670e/CMakeLists.txt#L69 --- Ports/nlohmann-json/package.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Ports/nlohmann-json/package.sh b/Ports/nlohmann-json/package.sh index bac9bbc033..2b07107751 100755 --- a/Ports/nlohmann-json/package.sh +++ b/Ports/nlohmann-json/package.sh @@ -7,6 +7,7 @@ files="https://github.com/nlohmann/json/archive/refs/tags/v${version}.tar.gz jso useconfigure='true' configopts=( "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" + "-DCMAKE_INSTALL_DATADIR=${SERENITY_INSTALL_ROOT}/usr/local/lib" "-DJSON_BuildTests=OFF" )