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

Contents of /sys-devel/gcc/gcc-4.4.3-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed Nov 9 19:22:56 2011 UTC (3 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.11: +2 -33 lines
Drop most dependencies now that toolchain.eclass takes care of them.  Also drop the ncurses dep as that seems to be purely a workaround for an ancient issue #4411 which we have addressed in different ways.

(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.3-r3.ebuild,v 1.11 2011/09/26 17:38:49 vapier Exp $
4
5 PATCH_VER="1.4"
6 UCLIBC_VER="1.0"
7
8 # Hardened gcc 4 stuff
9 PIE_VER="0.4.5"
10 SPECS_VER="0.2.0"
11 # arch/libc configurations known to be stable with {PIE,SSP}-by-default
12 PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64"
13 PIE_UCLIBC_STABLE="x86 amd64 arm ppc ppc64"
14 SSP_STABLE="amd64 x86 amd64 ppc ppc64 arm"
15 # uclibc need tls and nptl support for SSP support
16 SSP_UCLIBC_STABLE=""
17 #end Hardened stuff
18
19 inherit toolchain
20
21 DESCRIPTION="The GNU Compiler Collection"
22
23 LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2"
24 KEYWORDS="~alpha ~amd64 arm -hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sh ~sparc ~x86 ~x86-fbsd"
25
26 RDEPEND=""
27 DEPEND="${RDEPEND}
28 elibc_glibc? ( >=sys-libs/glibc-2.8 )
29 amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
30 ppc? ( >=${CATEGORY}/binutils-2.17 )
31 ppc64? ( >=${CATEGORY}/binutils-2.17 )
32 >=${CATEGORY}/binutils-2.15.94"
33 if [[ ${CATEGORY} != cross-* ]] ; then
34 PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
35 fi
36
37 src_unpack() {
38 toolchain_src_unpack
39
40 use vanilla && return 0
41
42 sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
43
44 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
45
46 [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch
47 }
48
49 pkg_setup() {
50 toolchain_pkg_setup
51
52 if use graphite ; then
53 ewarn "Graphite support is still experimental and unstable."
54 ewarn "Any bugs resulting from the use of Graphite will not be fixed."
55 fi
56 }

  ViewVC Help
Powered by ViewVC 1.1.20