From fa0ce18ba8efdaca232aa6bc093bac15c29f91db Mon Sep 17 00:00:00 2001 From: Agostino Sarubbo Date: Fri, 5 Oct 2012 19:33:35 +0000 Subject: Respect CC,AR, wrt to bug #401937 (Portage version: 2.1.11.9/cvs/Linux x86_64) --- sys-fs/arm-fdisk/ChangeLog | 5 ++++- sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/arm-fdisk/ChangeLog b/sys-fs/arm-fdisk/ChangeLog index 8c063740b046..ee84902b6243 100644 --- a/sys-fs/arm-fdisk/ChangeLog +++ b/sys-fs/arm-fdisk/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/arm-fdisk # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/ChangeLog,v 1.17 2012/03/18 18:36:21 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/ChangeLog,v 1.18 2012/10/05 19:33:35 ago Exp $ + + 05 Oct 2012; Agostino Sarubbo arm-fdisk-3.0.6-r1.ebuild: + Respect CC,AR, wrt to bug #401937 18 Mar 2012; Raúl Porcel arm-fdisk-3.0.6-r1.ebuild: ia64/m68k/s390/sh/sparc stable wrt #397223 diff --git a/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild b/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild index 8fd683fd8e01..0fb6a52e928c 100644 --- a/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild +++ b/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild,v 1.9 2012/03/18 18:36:21 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/arm-fdisk/arm-fdisk-3.0.6-r1.ebuild,v 1.10 2012/10/05 19:33:35 ago Exp $ -inherit eutils +inherit eutils toolchain-funcs DEB_VER=6.2 DESCRIPTION="edit disk partitions on Acorn machines" @@ -30,6 +30,12 @@ src_unpack() { -e '/^STRIP/s:strip:true:' } +src_compile() { + emake \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" || die +} + src_install() { into / newsbin fdisk ${PN} || die "sbin failed" -- cgit v1.2.3-65-gdbad