summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-libs/libunwind/libunwind-1.1.ebuild4
1 files changed, 4 insertions, 0 deletions
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