From bd9db0a159cbd2ec5a0fa52b8631ca8f0832c684 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 13 Jun 2016 14:02:25 -0400 Subject: sys-libs/libunwind: disable building code in tests/ #484846 --- sys-libs/libunwind/libunwind-1.1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-libs') diff --git a/sys-libs/libunwind/libunwind-1.1.ebuild b/sys-libs/libunwind/libunwind-1.1.ebuild index d7a83d696b1e..96c0baf3a5d3 100644 --- a/sys-libs/libunwind/libunwind-1.1.ebuild +++ b/sys-libs/libunwind/libunwind-1.1.ebuild @@ -31,6 +31,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 + sed -i -e '/LIBLZMA/s:-lzma:-llzma:' configure{.ac,} || die #444050 epatch "${FILESDIR}"/${P}-lzma.patch #444050 elibtoolize -- cgit v1.2.3-65-gdbad