/[gentoo-x86]/sys-devel/gcc/gcc-4.5.4.ebuild
Gentoo

Contents of /sys-devel/gcc/gcc-4.5.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.21 - (hide annotations) (download)
Tue May 5 06:53:03 2015 UTC (3 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.20: +3 -3 lines
Move old ebuilds to EAPI 5.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 vapier 1.21 # Copyright 1999-2015 Gentoo Foundation
2 dirtyepic 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.21 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.4.ebuild,v 1.20 2014/10/24 00:23:04 vapier Exp $
4 dirtyepic 1.18
5 vapier 1.21 EAPI="5"
6 dirtyepic 1.1
7 vapier 1.15 PATCH_VER="1.2"
8 dirtyepic 1.1 UCLIBC_VER="1.0"
9    
10     # Hardened gcc 4 stuff
11     PIE_VER="0.4.7"
12     SPECS_VER="0.2.0"
13     SPECS_GCC_VER="4.4.3"
14     # arch/libc configurations known to be stable with {PIE,SSP}-by-default
15     PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64"
16     PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64"
17     SSP_STABLE="amd64 x86 ppc ppc64 arm"
18     # uclibc need tls and nptl support for SSP support
19     SSP_UCLIBC_STABLE=""
20     #end Hardened stuff
21    
22 dirtyepic 1.18 inherit eutils toolchain
23 dirtyepic 1.1
24 dirtyepic 1.17 KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
25 dirtyepic 1.1
26     RDEPEND=""
27     DEPEND="${RDEPEND}
28     elibc_glibc? ( >=sys-libs/glibc-2.8 )
29     ppc? ( >=${CATEGORY}/binutils-2.17 )
30     ppc64? ( >=${CATEGORY}/binutils-2.17 )
31     >=${CATEGORY}/binutils-2.15.94"
32     if [[ ${CATEGORY} != cross-* ]] ; then
33     PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
34     fi
35    
36 dirtyepic 1.18 src_prepare() {
37     toolchain_src_prepare
38 dirtyepic 1.1
39     use vanilla && return 0
40    
41     sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
42    
43     [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
44     }

  ViewVC Help
Powered by ViewVC 1.1.20