summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-16 05:21:31 +0000
committerMike Frysinger <vapier@gentoo.org>2012-02-16 05:21:31 +0000
commite9d06dce67a7adfe0a775ea5fc7424929ac3b132 (patch)
tree6d95f68aad01e42ab3d0207b649e396b65f3cf86 /sys-apps/iproute2
parentPull in sys/stat.h in python code to fix build #403777 by Patrick Lauer. (diff)
downloadgentoo-2-e9d06dce67a7adfe0a775ea5fc7424929ac3b132.tar.gz
gentoo-2-e9d06dce67a7adfe0a775ea5fc7424929ac3b132.tar.bz2
gentoo-2-e9d06dce67a7adfe0a775ea5fc7424929ac3b132.zip
Respect CC from build env #401907 by Andrey Hippo.
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/iproute2')
-rw-r--r--sys-apps/iproute2/ChangeLog5
-rw-r--r--sys-apps/iproute2/iproute2-3.1.0.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-apps/iproute2/ChangeLog b/sys-apps/iproute2/ChangeLog
index 14fd7dd50406..334b7ed8cf37 100644
--- a/sys-apps/iproute2/ChangeLog
+++ b/sys-apps/iproute2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/iproute2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.184 2012/02/02 15:28:51 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.185 2012/02/16 05:21:31 vapier Exp $
+
+ 16 Feb 2012; Mike Frysinger <vapier@gentoo.org> iproute2-3.1.0.ebuild:
+ Respect CC from build env #401907 by Andrey Hippo.
02 Feb 2012; Samuli Suominen <ssuominen@gentoo.org> iproute2-2.6.38.ebuild:
ppc64 stable wrt #393319
diff --git a/sys-apps/iproute2/iproute2-3.1.0.ebuild b/sys-apps/iproute2/iproute2-3.1.0.ebuild
index fecae23cc683..4fea4ad0f53a 100644
--- a/sys-apps/iproute2/iproute2-3.1.0.ebuild
+++ b/sys-apps/iproute2/iproute2-3.1.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-3.1.0.ebuild,v 1.3 2011/12/05 20:59:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-3.1.0.ebuild,v 1.4 2012/02/16 05:21:31 vapier Exp $
EAPI="4"
@@ -36,6 +36,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-3.1.0-mtu.patch #291907
sed -i \
+ -e '/^CC =/d' \
-e "/^LIBDIR/s:=.*:=/$(get_libdir):" \
-e "s:-O2:${CFLAGS} ${CPPFLAGS}:" \
Makefile || die