Gentoo Archives: gentoo-commits

From: "Christoph Junghans (ottxor)" <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/clang: clang-3.3-r100.ebuild clang-9999-r100.ebuild ChangeLog
Date: Mon, 28 Oct 2013 00:25:42
Message-Id: 20131028002512.7913720047@flycatcher.gentoo.org
1 ottxor 13/10/28 00:25:12
2
3 Modified: clang-3.3-r100.ebuild clang-9999-r100.ebuild
4 ChangeLog
5 Log:
6 added ccache support (bug #486402)
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2000586)
9
10 Revision Changes Path
11 1.7 sys-devel/clang/clang-3.3-r100.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/clang-3.3-r100.ebuild?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/clang-3.3-r100.ebuild?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/clang-3.3-r100.ebuild?r1=1.6&r2=1.7
16
17 Index: clang-3.3-r100.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-3.3-r100.ebuild,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- clang-3.3-r100.ebuild 27 Aug 2013 19:28:06 -0000 1.6
24 +++ clang-3.3-r100.ebuild 28 Oct 2013 00:25:12 -0000 1.7
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-3.3-r100.ebuild,v 1.6 2013/08/27 19:28:06 chithanh Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-3.3-r100.ebuild,v 1.7 2013/10/28 00:25:12 ottxor Exp $
30
31 EAPI=5
32
33 @@ -20,3 +20,17 @@
34 # Please keep this package around since it's quite likely that we'll
35 # return to separate LLVM & clang ebuilds when the cmake build system
36 # is complete.
37 +
38 +pkg_postinst() {
39 + if has_version ">=dev-util/ccache-3.1.9-r2" ; then
40 + #add ccache links as clang might get installed after ccache
41 + "${EROOT}"/usr/bin/ccache-config --install-links
42 + fi
43 +}
44 +
45 +pkg_postrm() {
46 + if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then
47 + # --remove-links would remove all links, --install-links updates them
48 + "${EROOT}"/usr/bin/ccache-config --install-links
49 + fi
50 +}
51
52
53
54 1.5 sys-devel/clang/clang-9999-r100.ebuild
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/clang-9999-r100.ebuild?rev=1.5&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/clang-9999-r100.ebuild?rev=1.5&content-type=text/plain
58 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/clang-9999-r100.ebuild?r1=1.4&r2=1.5
59
60 Index: clang-9999-r100.ebuild
61 ===================================================================
62 RCS file: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-9999-r100.ebuild,v
63 retrieving revision 1.4
64 retrieving revision 1.5
65 diff -u -r1.4 -r1.5
66 --- clang-9999-r100.ebuild 14 Aug 2013 13:03:23 -0000 1.4
67 +++ clang-9999-r100.ebuild 28 Oct 2013 00:25:12 -0000 1.5
68 @@ -1,6 +1,6 @@
69 # Copyright 1999-2013 Gentoo Foundation
70 # Distributed under the terms of the GNU General Public License v2
71 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-9999-r100.ebuild,v 1.4 2013/08/14 13:03:23 mgorny Exp $
72 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-9999-r100.ebuild,v 1.5 2013/10/28 00:25:12 ottxor Exp $
73
74 EAPI=5
75
76 @@ -20,3 +20,17 @@
77 # Please keep this package around since it's quite likely that we'll
78 # return to separate LLVM & clang ebuilds when the cmake build system
79 # is complete.
80 +
81 +pkg_postinst() {
82 + if has_version ">=dev-util/ccache-3.1.9-r2" ; then
83 + #add ccache links as clang might get installed after ccache
84 + "${EROOT}"/usr/bin/ccache-config --install-links
85 + fi
86 +}
87 +
88 +pkg_postrm() {
89 + if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then
90 + # --remove-links would remove all links, --install-links updates them
91 + "${EROOT}"/usr/bin/ccache-config --install-links
92 + fi
93 +}
94
95
96
97 1.99 sys-devel/clang/ChangeLog
98
99 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/ChangeLog?rev=1.99&view=markup
100 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/ChangeLog?rev=1.99&content-type=text/plain
101 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/ChangeLog?r1=1.98&r2=1.99
102
103 Index: ChangeLog
104 ===================================================================
105 RCS file: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v
106 retrieving revision 1.98
107 retrieving revision 1.99
108 diff -u -r1.98 -r1.99
109 --- ChangeLog 5 Sep 2013 19:08:49 -0000 1.98
110 +++ ChangeLog 28 Oct 2013 00:25:12 -0000 1.99
111 @@ -1,6 +1,10 @@
112 # ChangeLog for sys-devel/clang
113 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
114 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.98 2013/09/05 19:08:49 mgorny Exp $
115 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.99 2013/10/28 00:25:12 ottxor Exp $
116 +
117 + 28 Oct 2013; Christoph Junghans <ottxor@g.o> clang-3.3-r100.ebuild,
118 + clang-9999-r100.ebuild:
119 + added ccache support (bug #486402)
120
121 05 Sep 2013; Michał Górny <mgorny@g.o> clang-3.2.ebuild,
122 clang-3.3.ebuild, clang-9999.ebuild: