summaryrefslogtreecommitdiff
path: root/sys-apps/iproute2/iproute2-4.17.0-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/iproute2/iproute2-4.17.0-r1.ebuild')
-rw-r--r--sys-apps/iproute2/iproute2-4.17.0-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/iproute2/iproute2-4.17.0-r1.ebuild b/sys-apps/iproute2/iproute2-4.17.0-r1.ebuild
index 29261b7f6ae1..76f024a454dc 100644
--- a/sys-apps/iproute2/iproute2-4.17.0-r1.ebuild
+++ b/sys-apps/iproute2/iproute2-4.17.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -59,7 +59,7 @@ src_prepare() {
sed -i \
-e '/^CC :\?=/d' \
-e "/^LIBDIR/s:=.*:=/$(get_libdir):" \
- -e "s:-O2:${CFLAGS} ${CPPFLAGS}:" \
+ -e "s|-O2|${CFLAGS} ${CPPFLAGS}|" \
-e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \
-e "/^DBM_INCLUDE/s:=.*:=${T}:" \
Makefile || die