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

Contents of /trunk/prefix/sys-devel/gcc/gcc-4.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1174 - (show annotations) (download)
Sun Mar 26 23:40:18 2006 UTC (8 years, 6 months ago) by kito
File size: 1882 byte(s)
gcc-4.1.0 initial import
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.0.ebuild,v 1.9 2006/03/18 01:43:28 halcy0n Exp $
4
5 EAPI="prefix"
6
7 PATCH_VER="1.1"
8 UCLIBC_VER="1.1"
9
10 ETYPE="gcc-compiler"
11
12 # bug #126609
13 GENTOO_PATCH_EXCLUDE="33_all_gcc4-pr16104.patch"
14
15 # whether we should split out specs files for multiple {PIE,SSP}-by-default
16 # and vanilla configurations.
17 SPLIT_SPECS=no #${SPLIT_SPECS-true} hard disable until #106690 is fixed
18
19 inherit toolchain
20
21 DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
22 HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
23
24 LICENSE="GPL-2 LGPL-2.1"
25 KEYWORDS="-* ~amd64 ~ppc ~x86"
26
27 RDEPEND="!sys-devel/hardened-gcc
28 || ( app-admin/eselect-compiler >=sys-devel/gcc-config-1.3.12-r4 )
29 >=sys-libs/zlib-1.1.4
30 fortran? (
31 dev-libs/gmp
32 dev-libs/mpfr
33 )
34 !build? (
35 gcj? (
36 gtk? (
37 || ( ( x11-libs/libXt x11-libs/libX11 x11-libs/libXtst x11-proto/xproto x11-proto/xextproto ) virtual/x11 )
38 >=x11-libs/gtk+-2.2
39 x11-libs/pango
40 )
41 >=media-libs/libart_lgpl-2.1
42 )
43 >=sys-libs/ncurses-5.2-r2
44 nls? ( sys-devel/gettext )
45 )"
46 if [[ ${CATEGORY} != cross-* ]] ; then
47 RDEPEND="${RDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.3.6 )"
48 fi
49 DEPEND="${RDEPEND}
50 >=sys-apps/texinfo-4.2-r4
51 >=sys-devel/bison-1.875
52 >=${CATEGORY}/binutils-2.16.1"
53
54 PDEPEND="|| ( app-admin/eselect-compiler sys-devel/gcc-config )
55 x86? ( !nocxx? ( !elibc_uclibc? ( !build? ( =virtual/libstdc++-3.3 ) ) ) )"
56
57 src_unpack() {
58 gcc_src_unpack
59
60 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
61
62 # Fix cross-compiling
63 epatch "${FILESDIR}"/4.0.2/gcc-4.0.2-cross-compile.patch
64
65 [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.0.2/gcc-4.0.2-softfloat.patch
66 }

  ViewVC Help
Powered by ViewVC 1.1.20