commit: 7c8d007596c7772209bdbc02b22a071b1c0faadd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 9 10:07:41 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 9 16:00:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c8d0075
sys-libs/llvm-libunwind: libcxx is only needed for tests (*9999)
sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild | 8 +++++---
sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild
b/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild
index 0be3b4e8c29..7523ff7bd6f 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild
@@ -47,9 +47,11 @@ src_unpack() {
https://github.com/llvm-mirror/libcxx.git"
git-r3_fetch
- git-r3_checkout https://llvm.org/git/libcxx.git \
- "${WORKDIR}"/libcxx '' include utils/libcxx
- git-r3_checkout
+ if use test; then
+ git-r3_checkout https://llvm.org/git/libcxx.git \
+ "${WORKDIR}"/libcxx '' include utils/libcxx
+ git-r3_checkout
+ fi
}
multilib_src_configure() {
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
index c1022676166..60a321c7d60 100644
--- a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
@@ -46,9 +46,11 @@ src_unpack() {
https://github.com/llvm-mirror/libcxx.git"
git-r3_fetch
- git-r3_checkout https://llvm.org/git/libcxx.git \
- "${WORKDIR}"/libcxx '' include utils/libcxx
- git-r3_checkout
+ if use test; then
+ git-r3_checkout https://llvm.org/git/libcxx.git \
+ "${WORKDIR}"/libcxx '' include utils/libcxx
+ git-r3_checkout
+ fi
}
multilib_src_configure() {