summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2014-01-19 01:51:34 +0000
committerRyan Hill <dirtyepic@gentoo.org>2014-01-19 01:51:34 +0000
commit705440ecb874d70066e9659ccc4c3217ca11a0e0 (patch)
tree11cc0d6ba0a8b28aa0fc29dfffe06cd195539899 /sys-devel
parentAdd cross-compiling support #486680. (diff)
downloadgentoo-2-705440ecb874d70066e9659ccc4c3217ca11a0e0.tar.gz
gentoo-2-705440ecb874d70066e9659ccc4c3217ca11a0e0.tar.bz2
gentoo-2-705440ecb874d70066e9659ccc4c3217ca11a0e0.zip
Bump all to EAPI 2.
Signed-off-by: Ryan Hill <dirtyepic@gentoo.org> (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/ChangeLog12
-rw-r--r--sys-devel/gcc/gcc-2.95.3-r10.ebuild16
-rw-r--r--sys-devel/gcc/gcc-3.3.6-r1.ebuild12
-rw-r--r--sys-devel/gcc/gcc-3.4.6-r2.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.0.4.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.1.2.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.2.4-r1.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.3.6-r1.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.4.7.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.5.1-r1.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.5.2.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.5.3-r2.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.5.4.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.6.0.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.6.1-r1.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.6.2.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.6.3.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.6.4.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.7.0.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.7.1.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.7.2-r1.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.7.3-r1.ebuild10
-rw-r--r--sys-devel/gcc/gcc-4.8.0.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.8.1-r1.ebuild12
-rw-r--r--sys-devel/gcc/gcc-4.8.2-r1.ebuild10
-rw-r--r--sys-devel/gcc/gcc-4.8.2.ebuild10
26 files changed, 183 insertions, 127 deletions
diff --git a/sys-devel/gcc/ChangeLog b/sys-devel/gcc/ChangeLog
index b42cfe30e72b..b27fd2c842cb 100644
--- a/sys-devel/gcc/ChangeLog
+++ b/sys-devel/gcc/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-devel/gcc
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.997 2014/01/18 07:22:35 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/ChangeLog,v 1.998 2014/01/19 01:51:34 dirtyepic Exp $
+
+ 19 Jan 2014; Ryan Hill <dirtyepic@gentoo.org> gcc-2.95.3-r10.ebuild,
+ gcc-3.3.6-r1.ebuild, gcc-3.4.6-r2.ebuild, gcc-4.0.4.ebuild, gcc-4.1.2.ebuild,
+ gcc-4.2.4-r1.ebuild, gcc-4.3.6-r1.ebuild, gcc-4.4.7.ebuild,
+ gcc-4.5.1-r1.ebuild, gcc-4.5.2.ebuild, gcc-4.5.3-r2.ebuild, gcc-4.5.4.ebuild,
+ gcc-4.6.0.ebuild, gcc-4.6.1-r1.ebuild, gcc-4.6.2.ebuild, gcc-4.6.3.ebuild,
+ gcc-4.6.4.ebuild, gcc-4.7.0.ebuild, gcc-4.7.1.ebuild, gcc-4.7.2-r1.ebuild,
+ gcc-4.7.3-r1.ebuild, gcc-4.8.0.ebuild, gcc-4.8.1-r1.ebuild, gcc-4.8.2.ebuild,
+ gcc-4.8.2-r1.ebuild:
+ Bump all to EAPI 2.
18 Jan 2014; Ryan Hill <dirtyepic@gentoo.org> -gcc-4.3.3-r2.ebuild,
-gcc-4.3.4.ebuild, -gcc-4.3.5.ebuild, -gcc-4.4.2.ebuild,
diff --git a/sys-devel/gcc/gcc-2.95.3-r10.ebuild b/sys-devel/gcc/gcc-2.95.3-r10.ebuild
index c818977c644e..900b36bbd339 100644
--- a/sys-devel/gcc/gcc-2.95.3-r10.ebuild
+++ b/sys-devel/gcc/gcc-2.95.3-r10.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-2.95.3-r10.ebuild,v 1.10 2012/12/29 06:58:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-2.95.3-r10.ebuild,v 1.11 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.4"
-inherit toolchain eutils flag-o-matic
+inherit eutils flag-o-matic toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -27,13 +29,9 @@ gcc2-flags() {
replace-cpu-flags ev6{7,8} ev6
}
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
rm -rf texinfo
-}
-
-src_compile() {
strip-linguas -u */po
gcc2-flags
- toolchain_src_compile
+ toolchain_src_prepare
}
diff --git a/sys-devel/gcc/gcc-3.3.6-r1.ebuild b/sys-devel/gcc/gcc-3.3.6-r1.ebuild
index 206a3166bb5b..5787028faab8 100644
--- a/sys-devel/gcc/gcc-3.3.6-r1.ebuild
+++ b/sys-devel/gcc/gcc-3.3.6-r1.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.6-r1.ebuild,v 1.24 2012/07/23 16:00:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.6-r1.ebuild,v 1.25 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.8"
UCLIBC_VER="1.0"
HTB_VER="1.00-r2"
-inherit toolchain eutils
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -20,8 +22,8 @@ RDEPEND=">=sys-devel/binutils-2.14.90.0.6-r1"
DEPEND="${RDEPEND}
amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 )"
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
if [[ -n ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] ; then
mv "${S}"/gcc-3.3.2/libstdc++-v3/config/os/uclibc "${S}"/libstdc++-v3/config/os/ || die
diff --git a/sys-devel/gcc/gcc-3.4.6-r2.ebuild b/sys-devel/gcc/gcc-3.4.6-r2.ebuild
index 767e24e9a4bc..9977f7513276 100644
--- a/sys-devel/gcc/gcc-3.4.6-r2.ebuild
+++ b/sys-devel/gcc/gcc-3.4.6-r2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.6-r2.ebuild,v 1.34 2013/10/05 04:08:32 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.6-r2.ebuild,v 1.35 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.7"
UCLIBC_VER="1.1"
@@ -9,7 +11,7 @@ HTB_VER="1.00.1"
HTB_GCC_VER="3.4.4"
D_VER="0.24"
-inherit toolchain eutils
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -25,8 +27,8 @@ DEPEND="${RDEPEND}
>=sys-devel/binutils-2.14.90.0.8-r1
amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 )"
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
# misc patches that havent made it into a patch tarball yet
[[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
diff --git a/sys-devel/gcc/gcc-4.0.4.ebuild b/sys-devel/gcc/gcc-4.0.4.ebuild
index 1967a80c3d00..4a2969e00228 100644
--- a/sys-devel/gcc/gcc-4.0.4.ebuild
+++ b/sys-devel/gcc/gcc-4.0.4.ebuild
@@ -1,11 +1,13 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.0.4.ebuild,v 1.16 2013/04/12 06:47:58 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.0.4.ebuild,v 1.17 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.1"
UCLIBC_VER="1.0"
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -16,8 +18,8 @@ RDEPEND=""
DEPEND="${RDEPEND}
>=${CATEGORY}/binutils-2.15.94"
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.1.2.ebuild b/sys-devel/gcc/gcc-4.1.2.ebuild
index a30ca56b8698..0ba1260d9bc1 100644
--- a/sys-devel/gcc/gcc-4.1.2.ebuild
+++ b/sys-devel/gcc/gcc-4.1.2.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.1.2.ebuild,v 1.36 2013/12/28 01:38:39 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.1.2.ebuild,v 1.37 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.5"
UCLIBC_VER="1.0"
D_VER="0.24"
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -19,8 +21,8 @@ DEPEND="${RDEPEND}
ppc64? ( >=${CATEGORY}/binutils-2.17 )
>=${CATEGORY}/binutils-2.15.94"
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.2.4-r1.ebuild b/sys-devel/gcc/gcc-4.2.4-r1.ebuild
index 12d55e325d19..71990c7ce66e 100644
--- a/sys-devel/gcc/gcc-4.2.4-r1.ebuild
+++ b/sys-devel/gcc/gcc-4.2.4-r1.ebuild
@@ -1,11 +1,13 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.2.4-r1.ebuild,v 1.15 2013/12/28 01:38:39 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.2.4-r1.ebuild,v 1.16 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.3"
UCLIBC_VER="1.0"
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -18,8 +20,8 @@ DEPEND="${RDEPEND}
ppc64? ( >=${CATEGORY}/binutils-2.17 )
>=${CATEGORY}/binutils-2.15.94"
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.3.6-r1.ebuild b/sys-devel/gcc/gcc-4.3.6-r1.ebuild
index 5e719f37dc7f..1a6581a742c5 100644
--- a/sys-devel/gcc/gcc-4.3.6-r1.ebuild
+++ b/sys-devel/gcc/gcc-4.3.6-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.3.6-r1.ebuild,v 1.14 2013/10/05 04:08:32 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.3.6-r1.ebuild,v 1.15 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.1"
UCLIBC_VER="1.0"
@@ -15,7 +17,7 @@ PIE_UCLIBC_STABLE="x86 arm"
#SSP_STABLE="amd64 x86 ppc ppc64 ~arm ~sparc"
#SSP_UCLIBC_STABLE=""
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -31,8 +33,8 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.4.7.ebuild b/sys-devel/gcc/gcc-4.4.7.ebuild
index 1be30cb4a556..64b0b4a97b34 100644
--- a/sys-devel/gcc/gcc-4.4.7.ebuild
+++ b/sys-devel/gcc/gcc-4.4.7.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.7.ebuild,v 1.17 2013/10/05 04:08:32 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.7.ebuild,v 1.18 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.2"
UCLIBC_VER="1.0"
@@ -17,7 +19,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE=""
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -34,8 +36,8 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
use vanilla && return 0
sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
diff --git a/sys-devel/gcc/gcc-4.5.1-r1.ebuild b/sys-devel/gcc/gcc-4.5.1-r1.ebuild
index 347e5117732c..77d57247f170 100644
--- a/sys-devel/gcc/gcc-4.5.1-r1.ebuild
+++ b/sys-devel/gcc/gcc-4.5.1-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.1-r1.ebuild,v 1.11 2013/05/15 02:43:13 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.1-r1.ebuild,v 1.12 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.5"
UCLIBC_VER="1.0"
@@ -17,7 +19,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE=""
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -34,8 +36,8 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.5.2.ebuild b/sys-devel/gcc/gcc-4.5.2.ebuild
index b7977d2e641c..80dca43e71ad 100644
--- a/sys-devel/gcc/gcc-4.5.2.ebuild
+++ b/sys-devel/gcc/gcc-4.5.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.2.ebuild,v 1.11 2013/05/15 02:43:13 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.2.ebuild,v 1.12 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.2"
UCLIBC_VER="1.0"
@@ -17,7 +19,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE=""
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -34,8 +36,8 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.5.3-r2.ebuild b/sys-devel/gcc/gcc-4.5.3-r2.ebuild
index 9a30b2006dc0..c754f4c3e43d 100644
--- a/sys-devel/gcc/gcc-4.5.3-r2.ebuild
+++ b/sys-devel/gcc/gcc-4.5.3-r2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.3-r2.ebuild,v 1.19 2013/10/05 04:08:32 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.3-r2.ebuild,v 1.20 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.6"
UCLIBC_VER="1.0"
@@ -17,7 +19,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE=""
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -34,8 +36,8 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.5.4.ebuild b/sys-devel/gcc/gcc-4.5.4.ebuild
index fb937bb6e7c4..450f25fe1d90 100644
--- a/sys-devel/gcc/gcc-4.5.4.ebuild
+++ b/sys-devel/gcc/gcc-4.5.4.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.4.ebuild,v 1.17 2013/10/05 04:08:32 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.4.ebuild,v 1.18 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.2"
UCLIBC_VER="1.0"
@@ -17,7 +19,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE=""
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -34,8 +36,8 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
- toolchain_src_unpack
+src_prepare() {
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.6.0.ebuild b/sys-devel/gcc/gcc-4.6.0.ebuild
index b983cb82d980..f6ae09b3d7bd 100644
--- a/sys-devel/gcc/gcc-4.6.0.ebuild
+++ b/sys-devel/gcc/gcc-4.6.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.0.ebuild,v 1.15 2013/12/23 21:36:09 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.0.ebuild,v 1.16 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.3"
UCLIBC_VER="1.0"
@@ -17,7 +19,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE=""
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -32,14 +34,14 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.6.1-r1.ebuild b/sys-devel/gcc/gcc-4.6.1-r1.ebuild
index 179cc5d0c5fe..274520ac056c 100644
--- a/sys-devel/gcc/gcc-4.6.1-r1.ebuild
+++ b/sys-devel/gcc/gcc-4.6.1-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.1-r1.ebuild,v 1.12 2013/12/23 21:36:09 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.1-r1.ebuild,v 1.13 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.1"
UCLIBC_VER="1.0"
@@ -17,7 +19,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE=""
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -33,14 +35,14 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.6.2.ebuild b/sys-devel/gcc/gcc-4.6.2.ebuild
index 8df1861de2f3..22fbc87086e6 100644
--- a/sys-devel/gcc/gcc-4.6.2.ebuild
+++ b/sys-devel/gcc/gcc-4.6.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild,v 1.17 2013/12/23 21:36:09 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.2.ebuild,v 1.18 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.5"
UCLIBC_VER="1.0"
@@ -17,7 +19,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE=""
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -33,7 +35,7 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
@@ -43,7 +45,7 @@ src_unpack() {
# drop the x32 stuff once 4.7 goes stable
EPATCH_EXCLUDE+=" 80_all_gcc-4.6-x32.patch"
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.6.3.ebuild b/sys-devel/gcc/gcc-4.6.3.ebuild
index 13b9225e22a5..949923d10847 100644
--- a/sys-devel/gcc/gcc-4.6.3.ebuild
+++ b/sys-devel/gcc/gcc-4.6.3.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.3.ebuild,v 1.39 2013/12/23 21:36:09 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.3.ebuild,v 1.40 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.13"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -34,14 +36,14 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.6.4.ebuild b/sys-devel/gcc/gcc-4.6.4.ebuild
index 2b9e19751c75..6cfa34199cf2 100644
--- a/sys-devel/gcc/gcc-4.6.4.ebuild
+++ b/sys-devel/gcc/gcc-4.6.4.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.4.ebuild,v 1.4 2013/12/24 00:59:46 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.4.ebuild,v 1.5 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.1"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -34,14 +36,14 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.7.0.ebuild b/sys-devel/gcc/gcc-4.7.0.ebuild
index 19e5e3e4f63d..4a7a2b27d5ca 100644
--- a/sys-devel/gcc/gcc-4.7.0.ebuild
+++ b/sys-devel/gcc/gcc-4.7.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.0.ebuild,v 1.11 2013/12/23 21:36:09 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.0.ebuild,v 1.12 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.2"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -34,7 +36,7 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
@@ -46,7 +48,7 @@ src_unpack() {
EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.7.1.ebuild b/sys-devel/gcc/gcc-4.7.1.ebuild
index a237da51d1cf..7b2b87d4c5a5 100644
--- a/sys-devel/gcc/gcc-4.7.1.ebuild
+++ b/sys-devel/gcc/gcc-4.7.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.1.ebuild,v 1.12 2013/12/23 21:36:09 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.1.ebuild,v 1.13 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.5"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -34,7 +36,7 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
@@ -46,7 +48,7 @@ src_unpack() {
EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.7.2-r1.ebuild b/sys-devel/gcc/gcc-4.7.2-r1.ebuild
index f68757b2c3b9..05f7128dc6ef 100644
--- a/sys-devel/gcc/gcc-4.7.2-r1.ebuild
+++ b/sys-devel/gcc/gcc-4.7.2-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.2-r1.ebuild,v 1.7 2013/12/23 21:36:09 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.2-r1.ebuild,v 1.8 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.6"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -35,7 +37,7 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
@@ -47,7 +49,7 @@ src_unpack() {
EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.7.3-r1.ebuild b/sys-devel/gcc/gcc-4.7.3-r1.ebuild
index 7a5f0d3fafba..23f653b08244 100644
--- a/sys-devel/gcc/gcc-4.7.3-r1.ebuild
+++ b/sys-devel/gcc/gcc-4.7.3-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.3-r1.ebuild,v 1.15 2014/01/16 07:48:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.3-r1.ebuild,v 1.16 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.4"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -35,7 +37,7 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
@@ -47,7 +49,7 @@ src_unpack() {
EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.8.0.ebuild b/sys-devel/gcc/gcc-4.8.0.ebuild
index 1a2f3aba089b..3ee1a2a6ba6e 100644
--- a/sys-devel/gcc/gcc-4.8.0.ebuild
+++ b/sys-devel/gcc/gcc-4.8.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.0.ebuild,v 1.11 2013/12/23 21:36:09 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.0.ebuild,v 1.12 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.3"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -35,14 +37,14 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
diff --git a/sys-devel/gcc/gcc-4.8.1-r1.ebuild b/sys-devel/gcc/gcc-4.8.1-r1.ebuild
index 29c5636645ae..52f13e69604b 100644
--- a/sys-devel/gcc/gcc-4.8.1-r1.ebuild
+++ b/sys-devel/gcc/gcc-4.8.1-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.1-r1.ebuild,v 1.9 2013/12/23 21:36:09 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.1-r1.ebuild,v 1.10 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.2"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -35,14 +37,14 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
#Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs.
diff --git a/sys-devel/gcc/gcc-4.8.2-r1.ebuild b/sys-devel/gcc/gcc-4.8.2-r1.ebuild
index 41910c31e90b..b328e317f6ad 100644
--- a/sys-devel/gcc/gcc-4.8.2-r1.ebuild
+++ b/sys-devel/gcc/gcc-4.8.2-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.2-r1.ebuild,v 1.2 2014/01/10 16:19:22 zorry Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.2-r1.ebuild,v 1.3 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.4-ssptest"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -35,14 +37,14 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
#Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs.
diff --git a/sys-devel/gcc/gcc-4.8.2.ebuild b/sys-devel/gcc/gcc-4.8.2.ebuild
index a0eff52b2db8..a088c5d432b8 100644
--- a/sys-devel/gcc/gcc-4.8.2.ebuild
+++ b/sys-devel/gcc/gcc-4.8.2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.2.ebuild,v 1.8 2014/01/17 03:15:53 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.8.2.ebuild,v 1.9 2014/01/19 01:51:34 dirtyepic Exp $
+
+EAPI="2"
PATCH_VER="1.3r1"
UCLIBC_VER="1.0"
@@ -18,7 +20,7 @@ SSP_STABLE="amd64 x86 mips ppc ppc64 arm"
SSP_UCLIBC_STABLE="x86 amd64 mips ppc ppc64 arm"
#end Hardened stuff
-inherit toolchain
+inherit eutils toolchain
DESCRIPTION="The GNU Compiler Collection"
@@ -35,14 +37,14 @@ if [[ ${CATEGORY} != cross-* ]] ; then
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi
-src_unpack() {
+src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
fi
- toolchain_src_unpack
+ toolchain_src_prepare
use vanilla && return 0
#Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs.