From 56009db7797e82b9b42eb5a51111228a6e90fac1 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 28 Aug 2015 16:05:48 +0200 Subject: [PATCH] net-libs/socket_wrapper: Workaround for bug #558340 Package-Manager: portage-2.2.20.1 Signed-off-by: Lars Wendler --- net-libs/socket_wrapper/socket_wrapper-1.1.3.ebuild | 7 +++++++ net-libs/socket_wrapper/socket_wrapper-1.1.4.ebuild | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/net-libs/socket_wrapper/socket_wrapper-1.1.3.ebuild b/net-libs/socket_wrapper/socket_wrapper-1.1.3.ebuild index 640369fbb2eb..6d917488a193 100644 --- a/net-libs/socket_wrapper/socket_wrapper-1.1.3.ebuild +++ b/net-libs/socket_wrapper/socket_wrapper-1.1.3.ebuild @@ -16,3 +16,10 @@ IUSE="test" DEPEND="" RDEPEND="${DEPEND}" + +# Work around a problem with >=dev-util/cmake-3.3.0 (bug #558340) +# Because of this we cannot use cmake-multilib_src_configure() here. +multilib_src_configure() { + local mycmakeargs=( -DCMAKE_LIBRARY_PATH=/usr/$(get_libdir) ) + cmake-utils_src_configure +} diff --git a/net-libs/socket_wrapper/socket_wrapper-1.1.4.ebuild b/net-libs/socket_wrapper/socket_wrapper-1.1.4.ebuild index 51b698f90753..d68a3de38e5b 100644 --- a/net-libs/socket_wrapper/socket_wrapper-1.1.4.ebuild +++ b/net-libs/socket_wrapper/socket_wrapper-1.1.4.ebuild @@ -16,3 +16,10 @@ IUSE="test" DEPEND="" RDEPEND="${DEPEND}" + +# Work around a problem with >=dev-util/cmake-3.3.0 (bug #558340) +# Because of this we cannot use cmake-multilib_src_configure() here. +multilib_src_configure() { + local mycmakeargs=( -DCMAKE_LIBRARY_PATH=/usr/$(get_libdir) ) + cmake-utils_src_configure +} -- 2.26.2