summaryrefslogtreecommitdiff
blob: 9f299538ba5e7fd31c0e354ea7eda35e16ec2c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.17.ebuild,v 1.8 2006/07/05 22:54:04 vapier Exp $

PATCHVER="1.0"
UCLIBC_PATCHVER="1.0"
ELF2FLT_VER=""
inherit toolchain-binutils autotools

# ARCH - packages to test before marking
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"

# make sure the headers will be regenerated
EXTRA_ECONF="${EXTRA_ECONF} --enable-maintainer-mode"

src_unpack() {
	mkdir ${WORKDIR}/patch
	cp ${FILESDIR}/${P}-cell.patch \
		${WORKDIR}/patch/98_all_cbe_arch_update.patch
	cp ${FILESDIR}/${P}-cell-power4.patch \
		${WORKDIR}/patch/99_all_cbe_arch_fixup.patch
	toolchain-binutils_src_unpack
	cd ${S}
	for dir in bfd gas ld opcodes
	do
		pushd ${dir} >/dev/null
		eautoreconf
		popd
	done
}