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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Apr 3 01:41:56 2011 UTC (3 years, 6 months ago) by dirtyepic
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha29/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.5.2.ebuild,v 1.4 2011/03/11 07:06:37 vapier Exp $
4
5 PATCH_VER="1.0"
6 UCLIBC_VER="1.0"
7
8 ETYPE="gcc-compiler"
9
10 # Hardened gcc 4 stuff
11 PIE_VER="0.4.5"
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 inherit toolchain
23
24 DESCRIPTION="The GNU Compiler Collection"
25
26 LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2"
27 KEYWORDS=""
28 IUSE=""
29
30 RDEPEND=">=sys-libs/zlib-1.1.4
31 virtual/libiconv
32 >=dev-libs/gmp-4.3.2
33 >=dev-libs/mpfr-2.4.2
34 >=dev-libs/mpc-0.8.1
35 graphite? (
36 >=dev-libs/cloog-ppl-0.15.10
37 >=dev-libs/ppl-0.11
38 )
39 !build? (
40 gcj? (
41 gtk? (
42 x11-libs/libXt
43 x11-libs/libX11
44 x11-libs/libXtst
45 x11-proto/xproto
46 x11-proto/xextproto
47 =x11-libs/gtk+-2*
48 x11-libs/pango
49 )
50 >=media-libs/libart_lgpl-2.1
51 app-arch/zip
52 app-arch/unzip
53 )
54 nls? ( sys-devel/gettext )
55 )"
56 DEPEND="${RDEPEND}
57 test? (
58 >=dev-util/dejagnu-1.4.4
59 >=sys-devel/autogen-5.5.4
60 )
61 >=sys-apps/texinfo-4.8
62 >=sys-devel/bison-1.875
63 >=sys-devel/flex-2.5.4
64 amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs ) ) )
65 >=${CATEGORY}/binutils-2.18"
66 PDEPEND=">=sys-devel/gcc-config-1.4
67 go? ( >=sys-devel/gcc-config-1.5 )"
68
69 if [[ ${CATEGORY} != cross-* ]] ; then
70 PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
71 fi
72
73 src_unpack() {
74 toolchain_src_unpack
75
76 use vanilla && return 0
77
78 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
79 [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch
80 }
81
82 pkg_setup() {
83 toolchain_pkg_setup
84
85 ewarn
86 ewarn "LTO support is still experimental and unstable."
87 ewarn "Any bugs resulting from the use of LTO will not be fixed."
88 ewarn
89 }

  ViewVC Help
Powered by ViewVC 1.1.20