1 |
commit: 5cd2c0a262c54abd65120aaefc107c2bf3042026 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 28 14:47:03 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 28 16:19:26 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd2c0a2 |
7 |
|
8 |
sys-devel/clang: Bump to 3.9.0rc3 |
9 |
|
10 |
sys-devel/clang/clang-3.9.0_rc3-r100.ebuild | 36 +++++++++++++++++++++++++++++ |
11 |
1 file changed, 36 insertions(+) |
12 |
|
13 |
diff --git a/sys-devel/clang/clang-3.9.0_rc3-r100.ebuild b/sys-devel/clang/clang-3.9.0_rc3-r100.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000..2df2eca |
16 |
--- /dev/null |
17 |
+++ b/sys-devel/clang/clang-3.9.0_rc3-r100.ebuild |
18 |
@@ -0,0 +1,36 @@ |
19 |
+# Copyright 1999-2016 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI=5 |
24 |
+ |
25 |
+inherit multilib-build |
26 |
+ |
27 |
+DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" |
28 |
+HOMEPAGE="http://clang.llvm.org/" |
29 |
+SRC_URI="" |
30 |
+ |
31 |
+LICENSE="UoI-NCSA" |
32 |
+SLOT="0/3.8" |
33 |
+KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
34 |
+IUSE="debug multitarget python +static-analyzer" |
35 |
+ |
36 |
+RDEPEND="~sys-devel/llvm-${PV}[clang(-),debug=,multitarget?,python?,static-analyzer?,${MULTILIB_USEDEP}]" |
37 |
+ |
38 |
+# Please keep this package around since it's quite likely that we'll |
39 |
+# return to separate LLVM & clang ebuilds when the cmake build system |
40 |
+# is complete. |
41 |
+ |
42 |
+pkg_postinst() { |
43 |
+ if has_version ">=dev-util/ccache-3.1.9-r2" ; then |
44 |
+ #add ccache links as clang might get installed after ccache |
45 |
+ "${EROOT}"/usr/bin/ccache-config --install-links |
46 |
+ fi |
47 |
+} |
48 |
+ |
49 |
+pkg_postrm() { |
50 |
+ if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then |
51 |
+ # --remove-links would remove all links, --install-links updates them |
52 |
+ "${EROOT}"/usr/bin/ccache-config --install-links |
53 |
+ fi |
54 |
+} |