diff options
| author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2025-08-15 23:15:47 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-09-04 21:48:36 +0100 |
| commit | 58b3cfe23855e57e2f0aa7eda999803ad56b5a42 (patch) | |
| tree | 3e390c31e97f85d060210bd6f83c88c22029dd34 /dev-cpp/jsoncons/files/jsoncons-1.3.2-usrshare.patch | |
| parent | 35c3e1bee8f56edf7445aed066af87d360118325 (diff) | |
| download | gentoo-58b3cfe23855e57e2f0aa7eda999803ad56b5a42.tar.gz gentoo-58b3cfe23855e57e2f0aa7eda999803ad56b5a42.tar.bz2 gentoo-58b3cfe23855e57e2f0aa7eda999803ad56b5a42.zip | |
dev-cpp/jsoncons: new package, add 1.3.2
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/43482
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/jsoncons/files/jsoncons-1.3.2-usrshare.patch')
| -rw-r--r-- | dev-cpp/jsoncons/files/jsoncons-1.3.2-usrshare.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-cpp/jsoncons/files/jsoncons-1.3.2-usrshare.patch b/dev-cpp/jsoncons/files/jsoncons-1.3.2-usrshare.patch new file mode 100644 index 000000000000..a933f1f5b018 --- /dev/null +++ b/dev-cpp/jsoncons/files/jsoncons-1.3.2-usrshare.patch @@ -0,0 +1,14 @@ +https://github.com/danielaparker/jsoncons/pull/629 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -51,8 +51,7 @@ install(DIRECTORY ${JSONCONS_INCLUDE_DIR}/jsoncons + ${JSONCONS_INCLUDE_DIR}/jsoncons_ext + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + +-# GNUInstallDirs "DATADIR" wrong here; CMake search path wants "share". +-set(JSONCONS_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}" CACHE STRING "install path for jsonconsConfig.cmake") ++set(JSONCONS_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/cmake/${PROJECT_NAME}" CACHE STRING "install path for jsonconsConfig.cmake") + + configure_package_config_file(cmake/Config.cmake + "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake" |
