commit:     56009db7797e82b9b42eb5a51111228a6e90fac1
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 28 14:05:48 2015 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Aug 28 14:14:42 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56009db7

net-libs/socket_wrapper: Workaround for bug #558340

Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 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 640369f..6d91748 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 51b698f..d68a3de 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
+}

Reply via email to