From 0807585b77c61f303104885968bbe8e7821448a8 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Thu, 23 Oct 2008 02:40:27 +0000 Subject: Respect CC even for makecrc. (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64) --- app-arch/macutil/ChangeLog | 6 +++++- app-arch/macutil/macutil-2.0_beta3.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'app-arch') diff --git a/app-arch/macutil/ChangeLog b/app-arch/macutil/ChangeLog index 42e00e4983bf..547475bcc1c5 100644 --- a/app-arch/macutil/ChangeLog +++ b/app-arch/macutil/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-arch/macutil # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/macutil/ChangeLog,v 1.17 2008/10/15 22:13:57 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/macutil/ChangeLog,v 1.18 2008/10/23 02:40:27 flameeyes Exp $ + + 23 Oct 2008; Diego Pettenò + macutil-2.0_beta3.ebuild: + Respect CC even for makecrc. 15 Oct 2008; Diego Pettenò macutil-2.0_beta3.ebuild: diff --git a/app-arch/macutil/macutil-2.0_beta3.ebuild b/app-arch/macutil/macutil-2.0_beta3.ebuild index 80b02cd90959..ad346298e9a6 100644 --- a/app-arch/macutil/macutil-2.0_beta3.ebuild +++ b/app-arch/macutil/macutil-2.0_beta3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/macutil/macutil-2.0_beta3.ebuild,v 1.16 2008/10/15 22:13:57 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/macutil/macutil-2.0_beta3.ebuild,v 1.17 2008/10/23 02:40:27 flameeyes Exp $ inherit eutils toolchain-funcs @@ -34,6 +34,10 @@ src_unpack() { -e '/^CFLAGS =/s:= -O:+=:' \ -e '/(OBJ/s:CFLAGS:LDFLAGS:' \ */makefile || die "sed makefile [2] failed" + + sed -i \ + -e '/-o makecrc/s:cc -O:$(CC) $(LDFLAGS):' \ + crc/makefile || die "sed makefile [3] failed" } src_compile() { -- cgit v1.2.3-65-gdbad