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

Contents of /sys-devel/gcc/gcc-3.3.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.24 - (show annotations) (download)
Mon Jul 23 16:00:30 2012 UTC (2 years, 2 months ago) by vapier
Branch: MAIN
Changes since 1.23: +3 -3 lines
Fix building with newer glibc and siginfo changes #427220 by Martin Jansa.

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.6-r1.ebuild,v 1.23 2011/12/06 04:05:49 vapier Exp $
4
5 PATCH_VER="1.8"
6 UCLIBC_VER="1.0"
7 HTB_VER="1.00-r2"
8
9 inherit toolchain eutils
10
11 DESCRIPTION="The GNU Compiler Collection"
12
13 # ia64 - broken static handling; USE=static emerge busybox
14 KEYWORDS="~amd64 ~x86"
15
16 # NOTE: we SHOULD be using at least binutils 2.15.90.0.1 everywhere for proper
17 # .eh_frame ld optimisation and symbol visibility support, but it hasnt been
18 # well tested in gentoo on any arch other than amd64!!
19 RDEPEND=">=sys-devel/binutils-2.14.90.0.6-r1"
20 DEPEND="${RDEPEND}
21 amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 )"
22
23 src_unpack() {
24 toolchain_src_unpack
25
26 if [[ -n ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] ; then
27 mv "${S}"/gcc-3.3.2/libstdc++-v3/config/os/uclibc "${S}"/libstdc++-v3/config/os/ || die
28 mv "${S}"/gcc-3.3.2/libstdc++-v3/config/locale/uclibc "${S}"/libstdc++-v3/config/locale/ || die
29 fi
30
31 # misc patches that havent made it into a patch tarball yet
32 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
33
34 # Anything useful and objc will require libffi. Seriously. Lets just force
35 # libffi to install with USE="objc", even though it normally only installs
36 # if you attempt to build gcj.
37 if ! use build && use objc && ! use gcj ; then
38 epatch "${FILESDIR}"/3.3.4/libffi-without-libgcj.patch
39 #epatch "${FILESDIR}"/3.4.3/libffi-nogcj-lib-path-fix.patch
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20