From: Michał Górny Date: Fri, 9 Feb 2018 10:07:41 +0000 (+0100) Subject: sys-libs/llvm-libunwind: libcxx is only needed for tests (*9999) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7c8d007596c7772209bdbc02b22a071b1c0faadd;p=gentoo.git sys-libs/llvm-libunwind: libcxx is only needed for tests (*9999) --- 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 0be3b4e8c29e..7523ff7bd6f6 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 c10226761668..60a321c7d609 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() {