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

Contents of /sys-devel/gcc/gcc-3.4.6-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.40 - (hide annotations) (download)
Mon Apr 6 18:16:10 2015 UTC (2 weeks ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.39: +2 -2 lines
Fix building with newer bison-3 #519704 by Andrew Church.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 vapier 1.39 # Copyright 1999-2015 Gentoo Foundation
2 kevquinn 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.40 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.6-r2.ebuild,v 1.39 2015/03/29 19:24:26 vapier Exp $
4 dirtyepic 1.35
5     EAPI="2"
6 kevquinn 1.1
7 vapier 1.40 PATCH_VER="1.8"
8 kevquinn 1.1 UCLIBC_VER="1.1"
9     UCLIBC_GCC_VER="3.4.5"
10 vapier 1.22 HTB_VER="1.00.1"
11 kevquinn 1.1 HTB_GCC_VER="3.4.4"
12 vapier 1.19 D_VER="0.24"
13 kevquinn 1.1
14 dirtyepic 1.35 inherit eutils toolchain
15 kevquinn 1.1
16 dirtyepic 1.34 KEYWORDS="-* alpha amd64 arm ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
17 kevquinn 1.1
18     # we need a proper glibc version for the Scrt1.o provided to the pie-ssp specs
19     # NOTE: we SHOULD be using at least binutils 2.15.90.0.1 everywhere for proper
20     # .eh_frame ld optimisation and symbol visibility support, but it hasnt been
21     # well tested in gentoo on any arch other than amd64!!
22 vapier 1.28 RDEPEND=""
23 kevquinn 1.1 DEPEND="${RDEPEND}
24     >=sys-devel/binutils-2.14.90.0.8-r1
25     amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 )"
26    
27 dirtyepic 1.35 src_prepare() {
28     toolchain_src_prepare
29 kevquinn 1.1
30     # Anything useful and objc will require libffi. Seriously. Lets just force
31     # libffi to install with USE="objc", even though it normally only installs
32     # if you attempt to build gcj.
33     if ! use build && use objc && ! use gcj ; then
34     epatch "${FILESDIR}"/3.4.3/libffi-without-libgcj.patch
35     #epatch ${FILESDIR}/3.4.3/libffi-nogcj-lib-path-fix.patch
36     fi
37    
38     # Fix cross-compiling
39     epatch "${FILESDIR}"/3.4.4/gcc-3.4.4-cross-compile.patch
40    
41     # Arch stuff
42     case $(tc-arch) in
43     amd64)
44     if is_multilib ; then
45     sed -i -e '/GLIBCXX_IS_NATIVE=/s:false:true:' libstdc++-v3/configure || die
46     fi
47     ;;
48     esac
49     }

  ViewVC Help
Powered by ViewVC 1.1.20