diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-13 23:04:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-13 23:04:46 +0000 |
commit | b6552123195db67de7b4b0c4c662f30f459b6504 (patch) | |
tree | 7ff4c3f89f59ecd82c3ba7118d1eb9ccdb9f3079 /net-wireless | |
parent | Add support for cross-compiling. (diff) | |
download | gentoo-2-b6552123195db67de7b4b0c4c662f30f459b6504.tar.gz gentoo-2-b6552123195db67de7b4b0c4c662f30f459b6504.tar.bz2 gentoo-2-b6552123195db67de7b4b0c4c662f30f459b6504.zip |
Move toolchain setup out of global scope and into src_prepare.
(Portage version: 2.2.0_alpha65/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/iw/ChangeLog | 5 | ||||
-rw-r--r-- | net-wireless/iw/iw-3.1.ebuild | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/net-wireless/iw/ChangeLog b/net-wireless/iw/ChangeLog index d5e759aa0f64..f665dd5990b5 100644 --- a/net-wireless/iw/ChangeLog +++ b/net-wireless/iw/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-wireless/iw # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/iw/ChangeLog,v 1.37 2011/10/03 18:32:43 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/iw/ChangeLog,v 1.38 2011/10/13 23:04:46 vapier Exp $ + + 13 Oct 2011; Mike Frysinger <vapier@gentoo.org> iw-3.1.ebuild: + Move toolchain setup out of global scope and into src_prepare. 03 Oct 2011; Joseph Jezak <josejx@gentoo.org> iw-0.9.22.ebuild: Marked ppc stable for bug #374499. diff --git a/net-wireless/iw/iw-3.1.ebuild b/net-wireless/iw/iw-3.1.ebuild index 549d855a8e3e..720067f86dc7 100644 --- a/net-wireless/iw/iw-3.1.ebuild +++ b/net-wireless/iw/iw-3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/iw/iw-3.1.ebuild,v 1.1 2011/09/09 23:17:31 gurligebis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/iw/iw-3.1.ebuild,v 1.2 2011/10/13 23:04:46 vapier Exp $ EAPI="2" @@ -19,13 +19,11 @@ RDEPEND=">=dev-libs/libnl-1.1" DEPEND="${RDEPEND} dev-util/pkgconfig" -CC=$(tc-getCC) -LD=$(tc-getLD) - src_prepare() { epatch "${FILESDIR}/${P}_libnl-3-support.patch" + tc-export CC LD } src_install() { - emake install DESTDIR="${D}" || die "Failed to install" + emake install DESTDIR="${D}" || die } |