summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Whyman <thev00d00@gentoo.org>2016-04-02 11:17:15 +0100
committerIan Whyman <thev00d00@gentoo.org>2016-04-02 11:18:56 +0100
commiteb6db67db013083706bae2a0997984d9e5063b16 (patch)
tree2698519f57bf9fa9d389690df34b44aef376c591 /dev-libs/libplatform/files
parentsci-biology/rebase: Version Bump (diff)
downloadgentoo-eb6db67db013083706bae2a0997984d9e5063b16.tar.gz
gentoo-eb6db67db013083706bae2a0997984d9e5063b16.tar.bz2
gentoo-eb6db67db013083706bae2a0997984d9e5063b16.zip
dev-libs/libplatform: Version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-libs/libplatform/files')
-rw-r--r--dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch b/dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch
new file mode 100644
index 000000000000..fce47f428cda
--- /dev/null
+++ b/dev-libs/libplatform/files/libplatform-2.0.1-arch-specific-libdirs.patch
@@ -0,0 +1,31 @@
+From 21317bf0bb90f16d591aec580fe70d58cb43e65e Mon Sep 17 00:00:00 2001
+From: Balint Reczey <balint@balintreczey.hu>
+Date: Sun, 21 Feb 2016 23:06:28 +0100
+Subject: [PATCH] Install pkg-config and .cmake files in arch-specific libdirs
+
+They contain arch-specific strings thus they can't be in
+architecture-independent dirs. This would prevent co-installing
+i386 and amd64 versions for example, since the files would differ.
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a577410..6b5586f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -74,12 +74,12 @@ install(FILES src/util/atomic.h
+ IF(NOT WIN32)
+ configure_file(p8-platform.pc.in p8-platform.pc @ONLY)
+ install(FILES ${CMAKE_BINARY_DIR}/p8-platform.pc
+- DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/pkgconfig)
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+ ENDIF(NOT WIN32)
+
+ # config mode
+ configure_file (p8-platform-config.cmake.in
+ p8-platform-config.cmake @ONLY)
+ install(FILES ${CMAKE_BINARY_DIR}/p8-platform-config.cmake
+- DESTINATION ${CMAKE_INSTALL_LIBDIR_NOARCH}/p8-platform)
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/p8-platform)
+