From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 350EC139086 for ; Wed, 21 Dec 2016 21:01:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 513ADE0DF8; Wed, 21 Dec 2016 21:01:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2BF5BE0E10 for ; Wed, 21 Dec 2016 21:01:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26A9534121E for ; Wed, 21 Dec 2016 21:01:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF2EC24E3 for ; Wed, 21 Dec 2016 21:01:16 +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: <1482354063.9c3c7be93c50369092b3af11e5385420cc5d9425.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang/clang-9999.ebuild X-VCS-Directories: sys-devel/clang/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9c3c7be93c50369092b3af11e5385420cc5d9425 X-VCS-Branch: master Date: Wed, 21 Dec 2016 21:01:16 +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: ddb06098-cd2f-46d4-8f87-e1098cee9239 X-Archives-Hash: 4f7ac4e5bc0b87446be1f8b9ab1c8312 commit: 9c3c7be93c50369092b3af11e5385420cc5d9425 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 21 19:19:54 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Dec 21 21:01:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c3c7be9 sys-devel/clang: Create test lib/clang symlink only if libdir != lib sys-devel/clang/clang-9999.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index 8a98acf..019064c 100644 --- a/sys-devel/clang/clang-9999.ebuild +++ b/sys-devel/clang/clang-9999.ebuild @@ -195,7 +195,9 @@ multilib_src_compile() { cmake-utils_src_compile # provide a symlink for tests - ln -s "../$(get_libdir)/clang" lib/clang || die + if [[ $(get_libdir) != lib ]]; then + ln -s "../$(get_libdir)/clang" lib/clang || die + fi } multilib_src_test() {