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 DC85E138330 for ; Sat, 10 Sep 2016 08:55:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BCF4E0854; Sat, 10 Sep 2016 08:55:23 +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 1F156E0854 for ; Sat, 10 Sep 2016 08:55:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C2891340955 for ; Sat, 10 Sep 2016 08:55:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1C15247B for ; Sat, 10 Sep 2016 08:55:19 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1473497294.c83c52e6081c171871960fb82e44120f318753b5.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang/clang-3.4.2-r100.ebuild X-VCS-Directories: sys-devel/clang/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: c83c52e6081c171871960fb82e44120f318753b5 X-VCS-Branch: master Date: Sat, 10 Sep 2016 08:55:19 +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: 8bae3b71-7188-49e0-9cf6-9546d4726400 X-Archives-Hash: 5c0b02a9d170a7017c32674b2ba7613a commit: c83c52e6081c171871960fb82e44120f318753b5 Author: Fabian Groffen gentoo org> AuthorDate: Sat Sep 10 08:48:14 2016 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sat Sep 10 08:48:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c83c52e6 sys-devel/clang: restore clang-3.4.2 for Prefix bootstraps, bug #588132 Package-Manager: portage-2.2.28 sys-devel/clang/clang-3.4.2-r100.ebuild | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/sys-devel/clang/clang-3.4.2-r100.ebuild b/sys-devel/clang/clang-3.4.2-r100.ebuild new file mode 100644 index 00000000..a76d5d9 --- /dev/null +++ b/sys-devel/clang/clang-3.4.2-r100.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib-build + +DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" +HOMEPAGE="http://clang.llvm.org/" +SRC_URI="" + +LICENSE="UoI-NCSA" +SLOT="0/3.4" +KEYWORDS="~ppc-macos ~x86-macos ~x64-macos" +IUSE="" + +RDEPEND="~sys-devel/llvm-${PV}[clang(-),${MULTILIB_USEDEP}]" + +# Please keep this package around since it's quite likely that we'll +# return to separate LLVM & clang ebuilds when the cmake build system +# is complete. + +pkg_postinst() { + if has_version ">=dev-util/ccache-3.1.9-r2" ; then + #add ccache links as clang might get installed after ccache + "${EROOT}"/usr/bin/ccache-config --install-links + fi +} + +pkg_postrm() { + if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then + # --remove-links would remove all links, --install-links updates them + "${EROOT}"/usr/bin/ccache-config --install-links + fi +}