Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/clang: ChangeLog clang-2.6.ebuild
Date: Mon, 26 Oct 2009 17:26:44
Message-Id: E1N2TL7-0002bL-Q1@stork.gentoo.org
1 voyageur 09/10/26 17:26:41
2
3 Modified: ChangeLog clang-2.6.ebuild
4 Log:
5 Fix documentation Makefile in the same way as llvm
6 (Portage version: 2.2_rc46/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.3 sys-devel/clang/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/clang/ChangeLog?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/clang/ChangeLog?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/clang/ChangeLog?r1=1.2&r2=1.3
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- ChangeLog 25 Oct 2009 20:21:33 -0000 1.2
22 +++ ChangeLog 26 Oct 2009 17:26:41 -0000 1.3
23 @@ -1,6 +1,10 @@
24 # ChangeLog for sys-devel/clang
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.2 2009/10/25 20:21:33 voyageur Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.3 2009/10/26 17:26:41 voyageur Exp $
28 +
29 + 26 Oct 2009; Bernard Cafarelli <voyageur@g.o> clang-2.6.ebuild,
30 + +files/clang-2.6-fixdoc.patch:
31 + Fix documentation Makefile in the same way as llvm
32
33 *clang-2.6 (25 Oct 2009)
34
35
36
37
38 1.2 sys-devel/clang/clang-2.6.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/clang/clang-2.6.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/clang/clang-2.6.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/clang/clang-2.6.ebuild?r1=1.1&r2=1.2
43
44 Index: clang-2.6.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-2.6.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- clang-2.6.ebuild 25 Oct 2009 20:21:33 -0000 1.1
51 +++ clang-2.6.ebuild 26 Oct 2009 17:26:41 -0000 1.2
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-2.6.ebuild,v 1.1 2009/10/25 20:21:33 voyageur Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-2.6.ebuild,v 1.2 2009/10/26 17:26:41 voyageur Exp $
57
58 EAPI=2
59 inherit eutils python
60 @@ -15,7 +15,7 @@
61 LICENSE="UoI-NCSA"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 -IUSE="+static-analyzer test"
65 +IUSE="debug +static-analyzer test"
66
67 # Note: for LTO support, clang will depend on binutils with gold plugins, and LLVM built after that - http://llvm.org/docs/GoldPlugin.html
68 DEPEND="static-analyzer? ( dev-lang/perl )
69 @@ -26,6 +26,10 @@
70
71 src_prepare() {
72 mv "${WORKDIR}"/clang-2.6 "${S}"/tools/clang || die "clang source directory not found"
73 +
74 + # Same as llvm doc patches
75 + epatch "${FILESDIR}"/${PN}-2.6-fixdoc.patch
76 +
77 sed -e "s#lib/clang/1.0#$(get_libdir)/clang/1.0#" \
78 -i "${S}"/tools/clang/lib/Headers/Makefile \
79 || die "clang Makefile failed"