summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-08-31 16:24:04 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-08-31 16:24:04 +0000
commitfb17a95047a798f97b7405a75c326e7be1e1ffaf (patch)
tree8e8857b86c0492dd60edc09c7618bdd753781b9d /dev-util
parentMarked stable on AMD64 as requested by Mike "SpanKY" Friesinger in bug #28187... (diff)
downloadhistorical-fb17a95047a798f97b7405a75c326e7be1e1ffaf.tar.gz
historical-fb17a95047a798f97b7405a75c326e7be1e1ffaf.tar.bz2
historical-fb17a95047a798f97b7405a75c326e7be1e1ffaf.zip
Respecting CFLAGS and LDFLAGS, bug #240272 Respecting CC variable, bug #243976 Fixing build, patch thanks to Gary Stein <gstein@ucf.edu> bug #277941 Cleaning out old ebuilds
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/cccc/ChangeLog12
-rw-r--r--dev-util/cccc/Manifest19
-rw-r--r--dev-util/cccc/cccc-3.0_pre63.ebuild27
-rw-r--r--dev-util/cccc/cccc-3.0_pre84.ebuild34
-rw-r--r--dev-util/cccc/cccc-3.1.4.ebuild19
-rw-r--r--dev-util/cccc/files/cccc-3.0_pre84-gcc34.patch48
6 files changed, 27 insertions, 132 deletions
diff --git a/dev-util/cccc/ChangeLog b/dev-util/cccc/ChangeLog
index 4f05cb384c94..0935c13d78ab 100644
--- a/dev-util/cccc/ChangeLog
+++ b/dev-util/cccc/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-util/cccc
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/ChangeLog,v 1.12 2008/05/29 07:29:08 phreak Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/ChangeLog,v 1.13 2009/08/31 16:24:04 vostorga Exp $
+
+ 31 Aug 2009; VĂ­ctor Ostorga <vostorga@gentoo.org> -cccc-3.0_pre63.ebuild,
+ -cccc-3.0_pre84.ebuild, -files/cccc-3.0_pre84-gcc34.patch,
+ cccc-3.1.4.ebuild:
+ Respecting CFLAGS and LDFLAGS, bug #240272
+ Respecting CC variable, bug #243976
+ Fixing build, patch thanks to Gary Stein <gstein@ucf.edu> bug #277941
+ Cleaning out old ebuilds
29 May 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing Philippe Trottier (tchiwam) from metadata.xml (as per #52828).
diff --git a/dev-util/cccc/Manifest b/dev-util/cccc/Manifest
index 4823b672b6df..46f3c51a1c38 100644
--- a/dev-util/cccc/Manifest
+++ b/dev-util/cccc/Manifest
@@ -1,19 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX cccc-3.0_pre84-gcc34.patch 1103 RMD160 06914ea6f8913ada83c49bd687a692227b143b89 SHA1 04fbc1cdeeb920af989a6efeb49535f0d257ae37 SHA256 ee4f27083adbad7983378c5cd07a1e84b2a1c1bc64ffc8df59b1a6acf871299d
DIST cccc-3.1.4.tar.gz 632007 RMD160 1135f86c3e60010dda8f420492cfe5bcbfc98cd2 SHA1 2b39667bf1f6ea6accddd8245cac0e8c19bc28e7 SHA256 27b3eca9a83a66799332363a80cc4bcd6db9869eddbda1a59a25cdace3ff4dbf
-DIST cccc-3.pre63.tar.gz 589282 RMD160 9efbfea1da8a3c65370d02b11f0e015a4ff7c333 SHA1 6ad3c44770490781017569cae2f98f00427ec513 SHA256 46110d20c53d46e8a4530a1fb6ac24aa8f9a180ee7ce32939a71311c5bdf734d
-DIST cccc-3.pre84.tar.gz 622373 RMD160 520a5072f7508546a3cc7e67a44be21c3f246bee SHA1 ff420eb7aa91302bbd884e48a3ebf8bcbe77c3e8 SHA256 015c4237a532b873990aeeecdf351138ce5a811d062d6db73c611a4985de5435
-EBUILD cccc-3.0_pre63.ebuild 642 RMD160 95515e6e6f865b311c2b6d1b81b38cdddde4af3c SHA1 f8bd130aee0e73caee61262e3aa01f034554c979 SHA256 0b4d3345e6bca0c694e6e0992e546bf7462b2f8b09b99650a1b383e60abc33a2
-EBUILD cccc-3.0_pre84.ebuild 778 RMD160 c315bb229cf10947a38ffba58f55b8f080e0ba6d SHA1 01de544f41d5bc31a31320cb695702ace4271a5e SHA256 7c3e757a2ed9ee0d4f52dd9d6c2e490f364ca5b251fa45f46cbdf56fc6e72980
-EBUILD cccc-3.1.4.ebuild 651 RMD160 66c26827ded07a573b1f923c063ea6f411149c56 SHA1 5d85603881bb2326820d260f8681d61e18ba71d0 SHA256 a2533877411307592f6ac43f06e851e681cd519ec4228f562af899999a3c6afc
-MISC ChangeLog 1419 RMD160 92a55aa469782c8deb0b093efb905254831fd295 SHA1 da7918f66d4e81ebe056559659e6ceac03d2b04b SHA256 29d7d69b31dd919201be4b8fbfbaff5b46f8989630db9df05c5e9f82fab611ac
+EBUILD cccc-3.1.4.ebuild 975 RMD160 c82af7fb6b7ba0fa35d7bacaf169510d7d871d3d SHA1 491a7a21babf1d4d8cee67f7daccc7c4b6cfbfbf SHA256 d9690b9474e90fb25f94abda39a6fc5595e08b7c0cb7e3af45612930ef185a0c
+MISC ChangeLog 1763 RMD160 21c3e78b0bf99892787da5a13a0ce19e8d10b113 SHA1 92a65c69d259be488acdcad2c231489930842137 SHA256 2890de568f4b9e9ab0f426818b7563876cf9e1b00cba3c2a5345b5703879a999
MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkg+W0kACgkQyuNVb5qfaOaDBwCgwLrcTVdJTrsg+tm+9A9zBNWn
-aEIAnRXrghFOOf8N0R96WvJ0PzZPEGo/
-=tOBr
------END PGP SIGNATURE-----
diff --git a/dev-util/cccc/cccc-3.0_pre63.ebuild b/dev-util/cccc/cccc-3.0_pre63.ebuild
deleted file mode 100644
index 3de75b3d1d52..000000000000
--- a/dev-util/cccc/cccc-3.0_pre63.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/cccc-3.0_pre63.ebuild,v 1.6 2006/04/15 07:10:47 halcy0n Exp $
-
-MY_PV="${PV/0_}"
-S="${WORKDIR}/${PN}-${MY_PV}"
-DESCRIPTION="A code counter for C and C++."
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
-HOMEPAGE="http://cccc.sourceforge.net/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND=""
-
-src_compile() {
- make pccts cccc test || die
-}
-
-src_install() {
- dodoc readme.txt changes.txt
- cd install
- dodir /usr
- make -f install.mak INSTDIR="${D}/usr/bin" || die
-}
diff --git a/dev-util/cccc/cccc-3.0_pre84.ebuild b/dev-util/cccc/cccc-3.0_pre84.ebuild
deleted file mode 100644
index ec47aeb3ec62..000000000000
--- a/dev-util/cccc/cccc-3.0_pre84.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/cccc-3.0_pre84.ebuild,v 1.2 2005/06/09 08:29:41 dholm Exp $
-
-inherit eutils toolchain-funcs
-
-MY_PV="${PV/0_}"
-S="${WORKDIR}/${PN}-${MY_PV}"
-DESCRIPTION="A code counter for C and C++."
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
-HOMEPAGE="http://cccc.sourceforge.net/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~ppc ~x86"
-IUSE=""
-
-DEPEND=""
-
-src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/${P}-gcc34.patch
-}
-
-src_compile() {
- make CCC=$(tc-getCXX) LD=$(tc-getCXX) pccts cccc test || die
-}
-
-src_install() {
- dodoc readme.txt changes.txt
- cd install
- dodir /usr
- make -f install.mak INSTDIR="${D}/usr/bin" || die
-}
diff --git a/dev-util/cccc/cccc-3.1.4.ebuild b/dev-util/cccc/cccc-3.1.4.ebuild
index 384e0de00f0b..422d10ef6bad 100644
--- a/dev-util/cccc/cccc-3.1.4.ebuild
+++ b/dev-util/cccc/cccc-3.1.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/cccc-3.1.4.ebuild,v 1.2 2006/06/30 10:42:50 tchiwam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cccc/cccc-3.1.4.ebuild,v 1.3 2009/08/31 16:24:04 vostorga Exp $
inherit eutils toolchain-funcs
@@ -14,14 +14,25 @@ KEYWORDS="amd64 ~ppc ~x86"
IUSE=""
DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "/^CFLAGS/s|=|+=|" pccts/antlr/makefile
+ sed -i -e "/^CFLAGS/s|=|+=|" pccts/dlg/makefile
+ sed -i -e "/^CFLAGS/s|=|+=|" \
+ -e "/^LDFLAGS/s|=|+=|" cccc/posixgcc.mak
+}
src_compile() {
- make CCC=$(tc-getCXX) LD=$(tc-getCXX) pccts cccc || die
+ emake CCC=$(tc-getCXX) LD=$(tc-getCXX) pccts || die "pccts failed"
+ emake CCC=$(tc-getCXX) LD=$(tc-getCXX) cccc || die "cccc failed"
}
src_install() {
dodoc readme.txt changes.txt
cd install
dodir /usr
- make -f install.mak INSTDIR="${D}"/usr/bin || die
+ make -f install.mak INSTDIR="${D}"/usr/bin || die "install failed"
}
diff --git a/dev-util/cccc/files/cccc-3.0_pre84-gcc34.patch b/dev-util/cccc/files/cccc-3.0_pre84-gcc34.patch
deleted file mode 100644
index 8c36dbc66c0b..000000000000
--- a/dev-util/cccc/files/cccc-3.0_pre84-gcc34.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -ur cccc-3.pre84-orig/cccc/cccc_tbl.cc cccc-3.pre84/cccc/cccc_tbl.cc
---- cccc-3.pre84-orig/cccc/cccc_tbl.cc 2005-05-29 20:49:55.000000000 -0400
-+++ cccc-3.pre84/cccc/cccc_tbl.cc 2005-05-29 20:52:24.000000000 -0400
-@@ -8,7 +8,7 @@
-
-
- template <class T> CCCC_Table<T>::CCCC_Table()
--: iter_(end()), sorted(true)
-+: iter_(map_t::end()), sorted(true)
- {
- }
-
-@@ -46,7 +46,7 @@
- {
- T *retval=NULL;
- typename map_t::iterator value_iterator=map_t::find(name);
-- if(value_iterator!=end())
-+ if(value_iterator!=map_t::end())
- {
- retval=(*value_iterator).second;
- }
-@@ -91,7 +91,7 @@
-
- template <class T> void CCCC_Table<T>::reset_iterator()
- {
-- iter_=begin();
-+ iter_=map_t::begin();
- }
-
- template <class T> T* CCCC_Table<T>::first_item()
-@@ -103,7 +103,7 @@
- template <class T> T* CCCC_Table<T>::next_item()
- {
- T* retval=NULL;
-- if(iter_!=end())
-+ if(iter_!=map_t::end())
- {
- retval=(*iter_).second;
- iter_++;
-@@ -113,7 +113,7 @@
-
- template <class T> int CCCC_Table<T>::records()
- {
-- return size();
-+ return map_t::size();
- }
-
- #include "cccc_db.h"