summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-09-20 12:01:07 +0200
committerMarek Szuba <marecki@gentoo.org>2021-09-20 12:02:05 +0200
commitfa495d33063e04a705c9a4b7e8daa0c076e62d4c (patch)
tree99dd95c2c186ae7185e0cd29d575c635f76d6c84 /dev-cpp/benchmark/files/benchmark-1.6.0-versioned_docdir.patch
parentx11-misc/xdotool: drop 3.20210804.2 (diff)
downloadgentoo-fa495d33063e04a705c9a4b7e8daa0c076e62d4c.tar.gz
gentoo-fa495d33063e04a705c9a4b7e8daa0c076e62d4c.tar.bz2
gentoo-fa495d33063e04a705c9a4b7e8daa0c076e62d4c.zip
dev-cpp/benchmark: add 1.6.0
WARNING: This version features a breaking API change. See https://github.com/google/benchmark/releases/tag/v1.6.0 for details. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-cpp/benchmark/files/benchmark-1.6.0-versioned_docdir.patch')
-rw-r--r--dev-cpp/benchmark/files/benchmark-1.6.0-versioned_docdir.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-cpp/benchmark/files/benchmark-1.6.0-versioned_docdir.patch b/dev-cpp/benchmark/files/benchmark-1.6.0-versioned_docdir.patch
new file mode 100644
index 000000000000..156e8b0c2a67
--- /dev/null
+++ b/dev-cpp/benchmark/files/benchmark-1.6.0-versioned_docdir.patch
@@ -0,0 +1,9 @@
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -120,5 +120,5 @@
+
+ install(
+ DIRECTORY "${PROJECT_SOURCE_DIR}/docs/"
+- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/${PROJECT_NAME}")
++ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/${PROJECT_NAME}-${CMAKE_PROJECT_VERSION}")
+ endif()