summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-05-06 10:12:26 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-05-06 10:12:26 +0200
commitd6382ef9121fc0050ced4b4719676637eaa922b4 (patch)
tree037fca6bafc5595c4d61fb275996263a67c0010a /sys-apps/iproute2/iproute2-9999.ebuild
parentsys-fs/cryptsetup: Removed old. (diff)
downloadgentoo-d6382ef9121fc0050ced4b4719676637eaa922b4.tar.gz
gentoo-d6382ef9121fc0050ced4b4719676637eaa922b4.tar.bz2
gentoo-d6382ef9121fc0050ced4b4719676637eaa922b4.zip
sys-apps/iproute2: Replace sed delimiters for possible gcc-9 CFLAGS
Closes: https://bugs.gentoo.org/685168 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/iproute2/iproute2-9999.ebuild')
-rw-r--r--sys-apps/iproute2/iproute2-9999.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/iproute2/iproute2-9999.ebuild b/sys-apps/iproute2/iproute2-9999.ebuild
index c6720ff8aed..d5befeb1ccf 100644
--- a/sys-apps/iproute2/iproute2-9999.ebuild
+++ b/sys-apps/iproute2/iproute2-9999.ebuild
@@ -61,7 +61,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