From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6E249138330 for ; Sun, 18 Sep 2016 15:30:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E358E0A69; Sun, 18 Sep 2016 15:30:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4240AE0A69 for ; Sun, 18 Sep 2016 15:30:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 090EF340BDE for ; Sun, 18 Sep 2016 15:30:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE7132486 for ; Sun, 18 Sep 2016 15:30:44 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1474212635.fb1b9e74ae0ebc902a6d72dc80bc79aa905d69e8.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/iproute2/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/iproute2/iproute2-4.7.0.ebuild sys-apps/iproute2/iproute2-9999.ebuild X-VCS-Directories: sys-apps/iproute2/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: fb1b9e74ae0ebc902a6d72dc80bc79aa905d69e8 X-VCS-Branch: master Date: Sun, 18 Sep 2016 15:30:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ff92d4cb-63ac-4a44-821f-172077ffec9d X-Archives-Hash: ab7187eb7bde64775395da5e82b1c968 commit: fb1b9e74ae0ebc902a6d72dc80bc79aa905d69e8 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 18 15:29:36 2016 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 18 15:30:35 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1b9e74 sys-apps/iproute2: respect CC, fixes cross-compilation, bug #591218 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-4.7.0.ebuild | 2 +- sys-apps/iproute2/iproute2-9999.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-apps/iproute2/iproute2-4.7.0.ebuild b/sys-apps/iproute2/iproute2-4.7.0.ebuild index 9a1447d..4b4f69e 100644 --- a/sys-apps/iproute2/iproute2-4.7.0.ebuild +++ b/sys-apps/iproute2/iproute2-4.7.0.ebuild @@ -52,7 +52,7 @@ src_prepare() { epatch "${PATCHES[@]}" sed -i \ - -e '/^CC =/d' \ + -e '/^CC :=/d' \ -e "/^LIBDIR/s:=.*:=/$(get_libdir):" \ -e "s:-O2:${CFLAGS} ${CPPFLAGS}:" \ -e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \ diff --git a/sys-apps/iproute2/iproute2-9999.ebuild b/sys-apps/iproute2/iproute2-9999.ebuild index 5e9fb78..b1b0347 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):" \