summaryrefslogtreecommitdiff
path: root/dev-cpp/jsoncons/files/jsoncons-1.3.2-usrshare.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-09-05 08:13:23 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-09-05 08:13:23 +0000
commit3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2 (patch)
treecb83708f1390fccc0f8521b61b63a2d9ea7bd752 /dev-cpp/jsoncons/files/jsoncons-1.3.2-usrshare.patch
parent5ce2273fa2607278dbc7825cd7f518b2f2c8561a (diff)
downloadsrcux-3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2.tar.gz
srcux-3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2.tar.xz
srcux-3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2.zip
Adding metadata
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.patch14
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"