summaryrefslogtreecommitdiff
blob: 6364d930783259ce18c39fedefb84e7aad1931a8 (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
# 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"

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}
		eautoreconf
		popd
	done
}