aboutsummaryrefslogtreecommitdiff
blob: 5aa805123bc7b82416b87e4e9d6d3698d89e551a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.21.ebuild,v 1.2 2011/03/11 06:52:40 vapier Exp $

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

KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"

src_unpack(){
	toolchain-binutils_src_unpack
	epatch "${FILESDIR}"/${P}-obsd.patch
#	TODO: Workaround autoconf version crap
	for dir in gprof gas binutils ld bfd; do
		cd "${S}"/$dir
		eautoreconf
		cd "${S}"
	done
}