Gentoo Archives: gentoo-commits

From: "Victor Ostorga (vostorga)" <vostorga@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/cccc: ChangeLog cccc-3.1.4.ebuild cccc-3.0_pre63.ebuild cccc-3.0_pre84.ebuild
Date: Mon, 31 Aug 2009 11:15:13
Message-Id: E1Mi9fo-0003yA-K9@stork.gentoo.org
1 vostorga 09/08/31 16:24:04
2
3 Modified: ChangeLog cccc-3.1.4.ebuild
4 Removed: cccc-3.0_pre63.ebuild cccc-3.0_pre84.ebuild
5 Log:
6 Respecting CFLAGS and LDFLAGS, bug #240272 Respecting CC variable, bug #243976 Fixing build, patch thanks to Gary Stein <gstein@×××.edu> bug #277941 Cleaning out old ebuilds
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.13 dev-util/cccc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cccc/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cccc/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cccc/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/cccc/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 29 May 2008 07:29:08 -0000 1.12
23 +++ ChangeLog 31 Aug 2009 16:24:04 -0000 1.13
24 @@ -1,6 +1,14 @@
25 # ChangeLog for dev-util/cccc
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/ChangeLog,v 1.12 2008/05/29 07:29:08 phreak Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/ChangeLog,v 1.13 2009/08/31 16:24:04 vostorga Exp $
30 +
31 + 31 Aug 2009; Víctor Ostorga <vostorga@g.o> -cccc-3.0_pre63.ebuild,
32 + -cccc-3.0_pre84.ebuild, -files/cccc-3.0_pre84-gcc34.patch,
33 + cccc-3.1.4.ebuild:
34 + Respecting CFLAGS and LDFLAGS, bug #240272
35 + Respecting CC variable, bug #243976
36 + Fixing build, patch thanks to Gary Stein <gstein@×××.edu> bug #277941
37 + Cleaning out old ebuilds
38
39 29 May 2008; Christian Heim <phreak@g.o> metadata.xml:
40 Removing Philippe Trottier (tchiwam) from metadata.xml (as per #52828).
41
42
43
44 1.3 dev-util/cccc/cccc-3.1.4.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cccc/cccc-3.1.4.ebuild?rev=1.3&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cccc/cccc-3.1.4.ebuild?rev=1.3&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cccc/cccc-3.1.4.ebuild?r1=1.2&r2=1.3
49
50 Index: cccc-3.1.4.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/dev-util/cccc/cccc-3.1.4.ebuild,v
53 retrieving revision 1.2
54 retrieving revision 1.3
55 diff -u -r1.2 -r1.3
56 --- cccc-3.1.4.ebuild 30 Jun 2006 10:42:50 -0000 1.2
57 +++ cccc-3.1.4.ebuild 31 Aug 2009 16:24:04 -0000 1.3
58 @@ -1,6 +1,6 @@
59 -# Copyright 1999-2006 Gentoo Foundation
60 +# Copyright 1999-2009 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/cccc-3.1.4.ebuild,v 1.2 2006/06/30 10:42:50 tchiwam Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/cccc-3.1.4.ebuild,v 1.3 2009/08/31 16:24:04 vostorga Exp $
64
65 inherit eutils toolchain-funcs
66
67 @@ -14,14 +14,25 @@
68 IUSE=""
69
70 DEPEND=""
71 +RDEPEND=""
72 +
73 +src_unpack() {
74 + unpack ${A}
75 + cd "${S}"
76 + sed -i -e "/^CFLAGS/s|=|+=|" pccts/antlr/makefile
77 + sed -i -e "/^CFLAGS/s|=|+=|" pccts/dlg/makefile
78 + sed -i -e "/^CFLAGS/s|=|+=|" \
79 + -e "/^LDFLAGS/s|=|+=|" cccc/posixgcc.mak
80 +}
81
82 src_compile() {
83 - make CCC=$(tc-getCXX) LD=$(tc-getCXX) pccts cccc || die
84 + emake CCC=$(tc-getCXX) LD=$(tc-getCXX) pccts || die "pccts failed"
85 + emake CCC=$(tc-getCXX) LD=$(tc-getCXX) cccc || die "cccc failed"
86 }
87
88 src_install() {
89 dodoc readme.txt changes.txt
90 cd install
91 dodir /usr
92 - make -f install.mak INSTDIR="${D}"/usr/bin || die
93 + make -f install.mak INSTDIR="${D}"/usr/bin || die "install failed"
94 }