net-libs/zmqpp: fix multilib-strict check failure.
authorMathy Vanvoorden <mathy@vanvoorden.be>
Fri, 1 Dec 2017 09:19:14 +0000 (10:19 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 20 Feb 2018 22:09:21 +0000 (23:09 +0100)
Closes: https://github.com/gentoo/gentoo/pull/6368

Package-Manager: Portage-2.3.14, Repoman-2.3.6

net-libs/zmqpp/files/zmqpp-4.2.0-multilib-strict.patch [new file with mode: 0644]
net-libs/zmqpp/zmqpp-4.2.0.ebuild

diff --git a/net-libs/zmqpp/files/zmqpp-4.2.0-multilib-strict.patch b/net-libs/zmqpp/files/zmqpp-4.2.0-multilib-strict.patch
new file mode 100644 (file)
index 0000000..798c028
--- /dev/null
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 489916a..e6ca7d3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -231,8 +231,8 @@ endif()
+ # -------
+ install(TARGETS ${INSTALL_TARGET_LIST}
+         RUNTIME DESTINATION bin
+-        LIBRARY DESTINATION lib
+-        ARCHIVE DESTINATION lib)
++        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ install(DIRECTORY src/zmqpp DESTINATION include/
+         FILES_MATCHING PATTERN "*.hpp")
index e60bfa0f62c070acaf9f21f34c3225f9234bac9b..4eb86e192ea656b7f4550bf6d7d388d76933d9ea 100644 (file)
@@ -23,6 +23,10 @@ IUSE="static-libs"
 DEPEND="net-libs/zeromq[static-libs?]"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+       "${FILESDIR}/${P}-multilib-strict.patch"
+)
+
 src_configure() {
        local mycmakeargs=(
                -DIS_TRAVIS_CI_BUILD=OFF