From fb1b9e74ae0ebc902a6d72dc80bc79aa905d69e8 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 18 Sep 2016 16:29:36 +0100 Subject: sys-apps/iproute2: respect CC, fixes cross-compilation, bug #591218 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit iproute tarball used to use 'CC = ' to override a compiler. Now it uses 'CC :=' and it broke our sed silently. Reported-by: Gerhard Bräunlich Reported-by: n05 on #gentoo-embedded Bug: https://bugs.gentoo.org/591218 Package-Manager: portage-2.3.0 --- sys-apps/iproute2/iproute2-9999.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-apps/iproute2/iproute2-9999.ebuild') diff --git a/sys-apps/iproute2/iproute2-9999.ebuild b/sys-apps/iproute2/iproute2-9999.ebuild index 5e9fb782286b..b1b0347479e8 100644 --- a/sys-apps/iproute2/iproute2-9999.ebuild +++ b/sys-apps/iproute2/iproute2-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -41,7 +41,7 @@ src_prepare() { use ipv6 || epatch "${FILESDIR}"/${PN}-3.10.0-no-ipv6.patch #326849 sed -i \ - -e '/^CC =/d' \ + -e '/^CC :=/d' \ -e "/^LIBDIR/s:=.*:=/$(get_libdir):" \ -e "s:-O2:${CFLAGS} ${CPPFLAGS}:" \ -e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \ -- cgit v1.2.3