summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-01-18 11:02:22 +0000
committerMike Frysinger <vapier@gentoo.org>2014-01-18 11:02:22 +0000
commitdfc78c27aa4c8c11e3bdb9dffd2f1b156d87f874 (patch)
tree638566f8bf585278a1bf62655b680def003629c7 /sys-apps/iproute2/iproute2-3.8.0.ebuild
parentCleanup. (diff)
downloadgentoo-2-dfc78c27aa4c8c11e3bdb9dffd2f1b156d87f874.tar.gz
gentoo-2-dfc78c27aa4c8c11e3bdb9dffd2f1b156d87f874.tar.bz2
gentoo-2-dfc78c27aa4c8c11e3bdb9dffd2f1b156d87f874.zip
Fix cross-compiling when USE=berkdb.
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-apps/iproute2/iproute2-3.8.0.ebuild')
-rw-r--r--sys-apps/iproute2/iproute2-3.8.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/iproute2/iproute2-3.8.0.ebuild b/sys-apps/iproute2/iproute2-3.8.0.ebuild
index ee8b42beb351..08df3a83eaa9 100644
--- a/sys-apps/iproute2/iproute2-3.8.0.ebuild
+++ b/sys-apps/iproute2/iproute2-3.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-3.8.0.ebuild,v 1.17 2014/01/18 05:37:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-3.8.0.ebuild,v 1.18 2014/01/18 11:02:22 vapier Exp $
EAPI="4"
@@ -44,6 +44,7 @@ src_prepare() {
-e "s:-O2:${CFLAGS} ${CPPFLAGS}:" \
-e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \
-e "/^WFLAGS/s:-Werror::" \
+ -e "/^DBM_INCLUDE/s:=.*:=${T}:" \
Makefile || die
# build against system headers