From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1002439-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3AE541382C5
	for <garchives@archives.gentoo.org>; Fri,  9 Feb 2018 16:00:20 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 120EFE0D40;
	Fri,  9 Feb 2018 16:00:18 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E709EE0D3E
	for <gentoo-commits@lists.gentoo.org>; Fri,  9 Feb 2018 16:00:17 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 97375335C59
	for <gentoo-commits@lists.gentoo.org>; Fri,  9 Feb 2018 16:00:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CDC0E1F1
	for <gentoo-commits@lists.gentoo.org>; Fri,  9 Feb 2018 16:00:13 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1518192004.7c8d007596c7772209bdbc02b22a071b1c0faadd.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/llvm-libunwind/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild
X-VCS-Directories: sys-libs/llvm-libunwind/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 7c8d007596c7772209bdbc02b22a071b1c0faadd
X-VCS-Branch: master
Date: Fri,  9 Feb 2018 16:00:13 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: fcaa28ab-057f-4e04-b8a0-e970d7ed3b1c
X-Archives-Hash: 66021f8b43835abe039b98e49582e214

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() {