/[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.22 - (hide annotations) (download)
Mon Jun 1 14:48:13 2015 UTC (2 years, 11 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -13 lines
Expire pie/ssp/specs hardening in older versions to help clean up eclass logic.

(Portage version: 2.2.20/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.22 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.4.ebuild,v 1.21 2015/05/05 06:53:03 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 dirtyepic 1.18 inherit eutils toolchain
11 dirtyepic 1.1
12 dirtyepic 1.17 KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
13 dirtyepic 1.1
14     RDEPEND=""
15     DEPEND="${RDEPEND}
16     elibc_glibc? ( >=sys-libs/glibc-2.8 )
17     ppc? ( >=${CATEGORY}/binutils-2.17 )
18     ppc64? ( >=${CATEGORY}/binutils-2.17 )
19     >=${CATEGORY}/binutils-2.15.94"
20     if [[ ${CATEGORY} != cross-* ]] ; then
21     PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
22     fi
23    
24 dirtyepic 1.18 src_prepare() {
25     toolchain_src_prepare
26 dirtyepic 1.1
27     use vanilla && return 0
28    
29     sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
30    
31     [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
32     }

  ViewVC Help
Powered by ViewVC 1.1.20