sys-libs/nss_wrapper: Workaround for bug #558340
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 28 Aug 2015 14:11:47 +0000 (16:11 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 28 Aug 2015 14:14:45 +0000 (16:14 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-libs/nss_wrapper/nss_wrapper-1.0.3.ebuild

index 017cc9554e4efe3f0f9edef38b3095ff6a8ded43..983cb40030a1e22437dd02fb3c80780f4dcea067 100644 (file)
@@ -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
+}