summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2019-04-12 22:53:55 +1000
committerMichael Palimaka <kensington@gentoo.org>2019-04-12 22:54:31 +1000
commitbf8a52d0924b851e7818835c98b7ade32e471460 (patch)
tree1a849fe2f0b83b33934f603fa691a94cb74b89b0 /dev-cpp/rttr/files/rttr-0.9.6-cmake.patch
parentdev-libs/rttr: new package (diff)
downloadgentoo-bf8a52d0924b851e7818835c98b7ade32e471460.tar.gz
gentoo-bf8a52d0924b851e7818835c98b7ade32e471460.tar.bz2
gentoo-bf8a52d0924b851e7818835c98b7ade32e471460.zip
dev-cpp/rttr: move from dev-libs
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-cpp/rttr/files/rttr-0.9.6-cmake.patch')
-rw-r--r--dev-cpp/rttr/files/rttr-0.9.6-cmake.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-cpp/rttr/files/rttr-0.9.6-cmake.patch b/dev-cpp/rttr/files/rttr-0.9.6-cmake.patch
new file mode 100644
index 000000000000..e313014d70a5
--- /dev/null
+++ b/dev-cpp/rttr/files/rttr-0.9.6-cmake.patch
@@ -0,0 +1,25 @@
+Install cmake files to the correct directory.
+
+Avoid installing docs to the wrong directory (will be installed by the ebuild instead).
+
+--- a/CMake/config.cmake
++++ b/CMake/config.cmake
+@@ -69,7 +69,7 @@
+
+ set(RTTR_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_FULL_LIBDIR}")
+
+- set(RTTR_CMAKE_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/rttr/cmake")
++ set(RTTR_CMAKE_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/rttr")
+ set(RTTR_ADDITIONAL_FILES_INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/rttr")
+
+ elseif(WIN32)
+@@ -169,8 +169,4 @@
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/CMake/rttr-config-version.cmake"
+ DESTINATION ${RTTR_CMAKE_CONFIG_INSTALL_DIR}
+ COMPONENT Devel)
+-
+- install(FILES "${LICENSE_FILE}" "${README_FILE}"
+- DESTINATION ${RTTR_ADDITIONAL_FILES_INSTALL_DIR}
+- PERMISSIONS OWNER_READ)
+ endif()
+