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 372561382C5 for ; Sun, 25 Feb 2018 19:09:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53ED4E083B; Sun, 25 Feb 2018 19:09:37 +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 352FDE083B for ; Sun, 25 Feb 2018 19:09:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E67BC335C2F for ; Sun, 25 Feb 2018 19:09:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B0591E1 for ; Sun, 25 Feb 2018 19:09:34 +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: <1519585763.1e414463fb8a3d00d5f15f86680f41b0a67e28b4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/llvm/llvm-5.0.1.ebuild X-VCS-Directories: sys-devel/llvm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1e414463fb8a3d00d5f15f86680f41b0a67e28b4 X-VCS-Branch: master Date: Sun, 25 Feb 2018 19:09:34 +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: b602436d-ea80-4dc9-8afb-045a257eb758 X-Archives-Hash: 3b6bb166e2f879680834991971836238 commit: 1e414463fb8a3d00d5f15f86680f41b0a67e28b4 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 25 19:09:04 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 25 19:09:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e414463 sys-devel/llvm: Install libFuzzer only for Darwin||Linux Install libFuzzer only on platforms where it is actually built, that is Darwin and Linux. This fixes install failure on FreeBSD. sys-devel/llvm/llvm-5.0.1.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sys-devel/llvm/llvm-5.0.1.ebuild b/sys-devel/llvm/llvm-5.0.1.ebuild index c4ebf78be0a..809795ffd0a 100644 --- a/sys-devel/llvm/llvm-5.0.1.ebuild +++ b/sys-devel/llvm/llvm-5.0.1.ebuild @@ -35,7 +35,7 @@ LICENSE="UoI-NCSA rc BSD public-domain SLOT="$(ver_cut 1)" KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="debug doc gold libedit +libffi ncurses test - kernel_Darwin ${ALL_LLVM_TARGETS[*]}" + kernel_Darwin kernel_linux ${ALL_LLVM_TARGETS[*]}" RDEPEND=" sys-libs/zlib:0= @@ -211,10 +211,12 @@ multilib_src_install() { rm -rf "${ED%/}"/usr/include || die mv "${ED%/}"/usr/lib/llvm/${SLOT}/include "${ED%/}"/usr/include || die - # install fuzzer libraries for clang (cmake rules were added in 6) - # https://bugs.gentoo.org/636840 - into "/usr/lib/llvm/${SLOT}" - dolib.a "$(get_libdir)"/libLLVMFuzzer*.a + if use kernel_linux || use kernel_Darwin; then + # install fuzzer libraries for clang (cmake rules were added in 6) + # https://bugs.gentoo.org/636840 + into "/usr/lib/llvm/${SLOT}" + dolib.a "$(get_libdir)"/libLLVMFuzzer*.a + fi LLVM_LDPATHS+=( "${EPREFIX}/usr/lib/llvm/${SLOT}/$(get_libdir)" ) }