commit: d223997faf36b70fa15ae794869afbdf475d338e
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 15:11:14 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 15:12:27 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d223997f
sys-libs/libunwind: disable test building in 1.2_rc1 too
sys-libs/libunwind/libunwind-1.2_rc1.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
b/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
index 5aa3d70..8c81469 100644
--- a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
@@ -35,6 +35,10 @@ src_prepare() {
echo 'int main(){return 0;}' > tests/Gtest-dyn1.c
echo 'int main(){return 0;}' > tests/Ltest-dyn1.c
+ # Since we have tests disabled via RESTRICT, disable building in the
subdir
+ # entirely. This worksaround some build errors too. #484846
+ sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
+
elibtoolize
}