/[gentoo-alt]/trunk/prefix/sys-devel/gcc/gcc-4.1.1-r1.ebuild
Gentoo

Contents of /trunk/prefix/sys-devel/gcc/gcc-4.1.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1335 - (show annotations) (download)
Wed Sep 6 10:54:56 2006 UTC (8 years ago) by grobian
File size: 1793 byte(s)
Update to 4.1.1, removal of old cruft, removal of 4.0.2


1 # Copyright 1999-2006 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.1.1-r1.ebuild,v 1.1 2006/09/03 22:53:47 vapier Exp $
4
5 EAPI="prefix"
6
7 PATCH_VER="1.7"
8 UCLIBC_VER="1.1"
9
10 ETYPE="gcc-compiler"
11
12 # whether we should split out specs files for multiple {PIE,SSP}-by-default
13 # and vanilla configurations.
14 SPLIT_SPECS=no #${SPLIT_SPECS-true} hard disable until #106690 is fixed
15
16 inherit toolchain
17
18 DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
19
20 LICENSE="GPL-2 LGPL-2.1"
21 KEYWORDS="-* ~amd64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~x86 ~x86-fbsd"
22
23 RDEPEND=">=sys-libs/zlib-1.1.4
24 || ( >=sys-devel/gcc-config-1.3.12-r4 app-admin/eselect-compiler )
25 virtual/libiconv
26 fortran? (
27 >=dev-libs/gmp-4.2.1
28 >=dev-libs/mpfr-2.2.0_p10
29 )
30 !build? (
31 gcj? (
32 gtk? (
33 || ( ( x11-libs/libXt x11-libs/libX11 x11-libs/libXtst x11-proto/xproto x11-proto/xextproto ) virtual/x11 )
34 >=x11-libs/gtk+-2.2
35 x11-libs/pango
36 )
37 >=media-libs/libart_lgpl-2.1
38 )
39 >=sys-libs/ncurses-5.2-r2
40 nls? ( sys-devel/gettext )
41 )"
42 DEPEND="${RDEPEND}
43 test? ( sys-devel/autogen )
44 >=sys-apps/texinfo-4.2-r4
45 >=sys-devel/bison-1.875
46 >=${CATEGORY}/binutils-2.15.94"
47 PDEPEND="|| ( sys-devel/gcc-config app-admin/eselect-compiler )"
48 if [[ ${CATEGORY} != cross-* ]] ; then
49 PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.3.6 )"
50 fi
51
52 src_unpack() {
53 gcc_src_unpack
54
55 use vanilla && return 0
56
57 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
58
59 # Fix cross-compiling
60 epatch "${FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
61
62 [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.0.2/gcc-4.0.2-softfloat.patch
63 }

  ViewVC Help
Powered by ViewVC 1.1.20