From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 54B191381F3 for ; Sun, 14 Jul 2013 21:11:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2262DE07FA; Sun, 14 Jul 2013 21:11:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF00BE07FA for ; Sun, 14 Jul 2013 21:11:12 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A18BD33E772 for ; Sun, 14 Jul 2013 21:11:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 42FC9E468F for ; Sun, 14 Jul 2013 21:11:10 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1373836254.16376a1a29e1a7a8d66b0a067b5ebe6c7bc36755.mgorny@gentoo> Subject: [gentoo-commits] dev/mgorny:master commit in: sys-devel/llvm/ X-VCS-Repository: dev/mgorny X-VCS-Files: sys-devel/llvm/llvm-9999-r1.ebuild X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 16376a1a29e1a7a8d66b0a067b5ebe6c7bc36755 X-VCS-Branch: master Date: Sun, 14 Jul 2013 21:11:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f17fbc65-87c6-4504-859e-f49c8479bace X-Archives-Hash: 69f372ad97f5234577c51170b9cbe72d commit: 16376a1a29e1a7a8d66b0a067b5ebe6c7bc36755 Author: Michał Górny gentoo org> AuthorDate: Sun Jul 14 21:10:54 2013 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 14 21:10:54 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=16376a1a Fix missing conditional for clang sed. Reported by hasufell. --- sys-devel/llvm/llvm-9999-r1.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys-devel/llvm/llvm-9999-r1.ebuild b/sys-devel/llvm/llvm-9999-r1.ebuild index dd3c24c..04924ea 100644 --- a/sys-devel/llvm/llvm-9999-r1.ebuild +++ b/sys-devel/llvm/llvm-9999-r1.ebuild @@ -114,10 +114,12 @@ src_prepare() { -e '/OmitFramePointer/s/-fomit-frame-pointer//' \ -i Makefile.rules || die "rpath sed failed" - # Set correct path for the coverage lib - sed -e "s#lib\(/libprofile_rt.a\)#$(get_libdir)/llvm\1#" \ - -i tools/clang/lib/Driver/Tools.cpp \ - || die "driver tools paths sed failed" + if use clang; then + # Set correct path for the coverage lib + sed -e "s#lib\(/libprofile_rt.a\)#$(get_libdir)/llvm\1#" \ + -i tools/clang/lib/Driver/Tools.cpp \ + || die "driver tools paths sed failed" + fi } if use gold; then