diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /dev-cpp/json11/files | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'dev-cpp/json11/files')
-rw-r--r-- | dev-cpp/json11/files/json11-1.0.0-fix-multiarch-install.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-cpp/json11/files/json11-1.0.0-fix-multiarch-install.patch b/dev-cpp/json11/files/json11-1.0.0-fix-multiarch-install.patch new file mode 100644 index 000000000000..fef15e0e153a --- /dev/null +++ b/dev-cpp/json11/files/json11-1.0.0-fix-multiarch-install.patch @@ -0,0 +1,14 @@ +diff -Naur before/CMakeLists.txt after/CMakeLists.txt +--- before/CMakeLists.txt 2019-05-12 16:45:39.995871663 +0200 ++++ after/CMakeLists.txt 2019-05-12 16:44:56.154872666 +0200 +@@ -52,6 +52,7 @@ + target_link_libraries(json11_test json11) + endif() + +-install(TARGETS json11 DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}) +-install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/json11.hpp" DESTINATION include/${CMAKE_LIBRARY_ARCHITECTURE}) +-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/json11.pc" DESTINATION lib/${CMAKE_LIBRARY_ARCHITECTURE}/pkgconfig) ++install(TARGETS json11 DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/json11.hpp" DESTINATION include) ++install(FILES "${CMAKE_CURRENT_BINARY_DIR}/json11.pc" DESTINATION ++ ${CMAKE_INSTALL_LIBDIR}/pkgconfig) |