Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/clang: ChangeLog clang-2.7-r2.ebuild
Date: Wed, 08 Sep 2010 17:34:57
Message-Id: 20100908173454.CCBEA20051@flycatcher.gentoo.org
1 grobian 10/09/08 17:34:54
2
3 Modified: ChangeLog clang-2.7-r2.ebuild
4 Log:
5 Fix configurations for (newer) Darwin configurations, thanks Heiko Przybyl
6
7 (Portage version: 2.2.01.15553-prefix/cvs/Darwin powerpc)
8
9 Revision Changes Path
10 1.22 sys-devel/clang/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/ChangeLog?rev=1.22&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/ChangeLog?rev=1.22&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/ChangeLog?r1=1.21&r2=1.22
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v
19 retrieving revision 1.21
20 retrieving revision 1.22
21 diff -u -r1.21 -r1.22
22 --- ChangeLog 3 Sep 2010 17:52:05 -0000 1.21
23 +++ ChangeLog 8 Sep 2010 17:34:54 -0000 1.22
24 @@ -1,6 +1,10 @@
25 # ChangeLog for sys-devel/clang
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.21 2010/09/03 17:52:05 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/ChangeLog,v 1.22 2010/09/08 17:34:54 grobian Exp $
29 +
30 + 08 Sep 2010; Fabian Groffen <grobian@g.o> clang-2.7-r2.ebuild,
31 + +files/clang-2.7-darwin-prefix.patch:
32 + Fix configurations for (newer) Darwin configurations, thanks Heiko Przybyl
33
34 03 Sep 2010; Fabian Groffen <grobian@g.o> clang-2.7-r2.ebuild:
35 Marked ~amd64-linux
36
37
38
39 1.5 sys-devel/clang/clang-2.7-r2.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/clang-2.7-r2.ebuild?rev=1.5&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/clang-2.7-r2.ebuild?rev=1.5&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/clang/clang-2.7-r2.ebuild?r1=1.4&r2=1.5
44
45 Index: clang-2.7-r2.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-2.7-r2.ebuild,v
48 retrieving revision 1.4
49 retrieving revision 1.5
50 diff -u -r1.4 -r1.5
51 --- clang-2.7-r2.ebuild 3 Sep 2010 17:52:05 -0000 1.4
52 +++ clang-2.7-r2.ebuild 8 Sep 2010 17:34:54 -0000 1.5
53 @@ -1,6 +1,6 @@
54 # Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-2.7-r2.ebuild,v 1.4 2010/09/03 17:52:05 grobian Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/clang/clang-2.7-r2.ebuild,v 1.5 2010/09/08 17:34:54 grobian Exp $
58
59 EAPI=3
60
61 @@ -33,6 +33,13 @@
62 # Same as llvm doc patches
63 epatch "${FILESDIR}"/${PN}-2.7-fixdoc.patch
64
65 + # Fix toolchain lookup for Darwin/Prefix.
66 + epatch "${FILESDIR}"/${PN}-2.7-darwin-prefix.patch
67 + sed -e "s|@GENTOO_PORTAGE_CHOST@|${CHOST%%-darwin*}-darwin|g" \
68 + -e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}|g" \
69 + -i tools/clang/lib/Driver/ToolChains.cpp \
70 + || die "fixing toolchain lookup"
71 +
72 # multilib-strict
73 sed -e "/PROJ_headers/s#lib/clang#$(get_libdir)/clang#" \
74 -i tools/clang/lib/Headers/Makefile \