summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-13 14:02:25 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-13 14:04:03 -0400
commitbd9db0a159cbd2ec5a0fa52b8631ca8f0832c684 (patch)
treeeaf6c5a2f4de2e2a98d76c4249dcf630a7b2eb6f
parentdev-util/dwarves: Add ~x86 keyword (diff)
downloadgentoo-bd9db0a159cbd2ec5a0fa52b8631ca8f0832c684.tar.gz
gentoo-bd9db0a159cbd2ec5a0fa52b8631ca8f0832c684.tar.bz2
gentoo-bd9db0a159cbd2ec5a0fa52b8631ca8f0832c684.zip
sys-libs/libunwind: disable building code in tests/ #484846
-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 d7a83d696b1..96c0baf3a5d 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