sys-libs/uid_wrapper: Workaround for bug #558340
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 28 Aug 2015 14:13:42 +0000 (16:13 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 28 Aug 2015 14:14:49 +0000 (16:14 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-libs/uid_wrapper/uid_wrapper-1.1.0.ebuild
sys-libs/uid_wrapper/uid_wrapper-1.1.1.ebuild

index 06496d0a8fe5e87cb02782a5e8a7599b03232df9..5957140b8eec58d1ee7d51b1787df9aa1e850fe3 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
+}
index dcfc934ed9e57a84a8b863826f67bfdcc1b20690..a7773d31ac95fcf76327441ab4c9e863fb6b6071 100644 (file)
@@ -17,3 +17,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
+}