summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2005-09-15 16:43:56 +0000
committerMark Loeser <halcy0n@gentoo.org>2005-09-15 16:43:56 +0000
commit6bfffbce2e9dd107f809e7d9a32bdbd4357dedad (patch)
treeb8d0ce0d7306175181820d932913973f3c8b1d0e /sys-devel
parentversion bump 0.9.2 (diff)
downloadgentoo-2-6bfffbce2e9dd107f809e7d9a32bdbd4357dedad.tar.gz
gentoo-2-6bfffbce2e9dd107f809e7d9a32bdbd4357dedad.tar.bz2
gentoo-2-6bfffbce2e9dd107f809e7d9a32bdbd4357dedad.zip
enable split spec files for gcc-4.0.2_rc1
(Portage version: 2.0.52-r1)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/ChangeLog6
-rw-r--r--sys-devel/gcc/Manifest12
-rw-r--r--sys-devel/gcc/gcc-4.0.2_pre20050913.ebuild12
3 files changed, 17 insertions, 13 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog
index f2ad2099dbc5..025ce71f59cf 100644
--- a/sys-devel/gcc/ChangeLog
+++ b/sys-devel/gcc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-devel/gcc
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.453 2005/09/14 23:31:51 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.454 2005/09/15 16:43:55 halcy0n Exp $
+
+ 15 Sep 2005; Mark Loeser <halcy0n@gentoo.org>
+ gcc-4.0.2_pre20050913.ebuild:
+ Enable split spec files.
*gcc-4.0.2_pre20050913 (14 Sep 2005)
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index c40a0c401c04..b718a2fa946f 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 af960fbd88b28d0adc450b2e1442fd9a ChangeLog 93559
MD5 3196c90905902891b12b4d08372c0eb5 gcc-2.95.3-r9.ebuild 7524
MD5 37f3db1694d592dc3a3db07507390b76 gcc-3.1.1-r2.ebuild 9270
@@ -16,7 +13,7 @@ MD5 8ad652a1c6c3b0b27963da2a8684dfc7 gcc-3.4.3-r1.ebuild 5429
MD5 f3320fc6b7547238588e8d01266c7d1c gcc-3.4.3.20050110-r2.ebuild 5192
MD5 f5804f3b322c22138f87bca0b3b3a69c gcc-3.4.4-r1.ebuild 5010
MD5 040ce3a966ff6b910a65e218fdeb137f gcc-4.0.1.ebuild 1668
-MD5 9ddb0f7c06dec450f3a0cdafeb8b7c07 gcc-4.0.2_pre20050913.ebuild 1700
+MD5 6a442b1c9a116659d89143446546ce21 gcc-4.0.2_pre20050913.ebuild 1947
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
MD5 f7e7042c2ddf66e344b30cbc66ebaf73 files/cc 24
MD5 80d122265d3062847a4a1b161abe1d26 files/cpp 24
@@ -97,10 +94,3 @@ MD5 053b213d6994cef2ad995aa516ed937a files/stubs/gcc-3.4-htb-stub.patch 722
MD5 d71c91009df788366867cb67fc875d6d files/stubs/gcc-3.4-ssp-stub.patch 1068
MD5 37e756238508fe9f9e2b9ba6a7ca67ca files/stubs/gcc-4.0-htb-stub.patch 722
MD5 d71c91009df788366867cb67fc875d6d files/stubs/gcc-4.0-ssp-stub.patch 1068
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDKLL5CRZPokWLroQRAtOaAKClRCuwFngN0qJ+FCLE3DRSMT9OBACcDQZr
-J18ysTHfsWq9+AqtR0rvIe4=
-=Sbjf
------END PGP SIGNATURE-----
diff --git a/sys-devel/gcc/gcc-4.0.2_pre20050913.ebuild b/sys-devel/gcc/gcc-4.0.2_pre20050913.ebuild
index 07bf0fdde473..50d000a91538 100644
--- a/sys-devel/gcc/gcc-4.0.2_pre20050913.ebuild
+++ b/sys-devel/gcc/gcc-4.0.2_pre20050913.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.0.2_pre20050913.ebuild,v 1.1 2005/09/14 23:31:52 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.0.2_pre20050913.ebuild,v 1.2 2005/09/15 16:43:56 halcy0n Exp $
PATCH_VER="1.0"
PATCH_GCC_VER="4.0.2"
@@ -14,6 +14,10 @@ HTB_GCC_VER="4.0.1"
ETYPE="gcc-compiler"
+# whether we should split out specs files for multiple {PIE,SSP}-by-default
+# and vanilla configurations.
+SPLIT_SPECS=${SPLIT_SPECS-true}
+
inherit toolchain
DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
@@ -51,6 +55,12 @@ DEPEND="${RDEPEND}
PDEPEND="sys-devel/gcc-config
x86? ( !nocxx? ( !elibc_uclibc? ( !build? ( || ( sys-libs/libstdc++-v3 =sys-devel/gcc-3.3* ) ) ) ) )"
+src_unpack() {
+ gcc_src_unpack
+
+ [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
+}
+
pkg_postinst() {
toolchain_pkg_postinst