1 |
commit: 7c8d007596c7772209bdbc02b22a071b1c0faadd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 9 10:07:41 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 9 16:00:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c8d0075 |
7 |
|
8 |
sys-libs/llvm-libunwind: libcxx is only needed for tests (*9999) |
9 |
|
10 |
sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild | 8 +++++--- |
11 |
sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild | 8 +++++--- |
12 |
2 files changed, 10 insertions(+), 6 deletions(-) |
13 |
|
14 |
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild |
15 |
index 0be3b4e8c29..7523ff7bd6f 100644 |
16 |
--- a/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild |
17 |
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild |
18 |
@@ -47,9 +47,11 @@ src_unpack() { |
19 |
https://github.com/llvm-mirror/libcxx.git" |
20 |
git-r3_fetch |
21 |
|
22 |
- git-r3_checkout https://llvm.org/git/libcxx.git \ |
23 |
- "${WORKDIR}"/libcxx '' include utils/libcxx |
24 |
- git-r3_checkout |
25 |
+ if use test; then |
26 |
+ git-r3_checkout https://llvm.org/git/libcxx.git \ |
27 |
+ "${WORKDIR}"/libcxx '' include utils/libcxx |
28 |
+ git-r3_checkout |
29 |
+ fi |
30 |
} |
31 |
|
32 |
multilib_src_configure() { |
33 |
|
34 |
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild |
35 |
index c1022676166..60a321c7d60 100644 |
36 |
--- a/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild |
37 |
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild |
38 |
@@ -46,9 +46,11 @@ src_unpack() { |
39 |
https://github.com/llvm-mirror/libcxx.git" |
40 |
git-r3_fetch |
41 |
|
42 |
- git-r3_checkout https://llvm.org/git/libcxx.git \ |
43 |
- "${WORKDIR}"/libcxx '' include utils/libcxx |
44 |
- git-r3_checkout |
45 |
+ if use test; then |
46 |
+ git-r3_checkout https://llvm.org/git/libcxx.git \ |
47 |
+ "${WORKDIR}"/libcxx '' include utils/libcxx |
48 |
+ git-r3_checkout |
49 |
+ fi |
50 |
} |
51 |
|
52 |
multilib_src_configure() { |