From d6382ef9121fc0050ced4b4719676637eaa922b4 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 6 May 2019 10:12:26 +0200 Subject: 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 --- sys-apps/iproute2/iproute2-4.14.1-r2.ebuild | 4 ++-- sys-apps/iproute2/iproute2-4.17.0-r1.ebuild | 4 ++-- sys-apps/iproute2/iproute2-4.19.0-r1.ebuild | 4 ++-- sys-apps/iproute2/iproute2-4.20.0.ebuild | 2 +- sys-apps/iproute2/iproute2-5.0.0.ebuild | 2 +- sys-apps/iproute2/iproute2-9999.ebuild | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'sys-apps/iproute2') diff --git a/sys-apps/iproute2/iproute2-4.14.1-r2.ebuild b/sys-apps/iproute2/iproute2-4.14.1-r2.ebuild index 74637c72653d..3386bb728ed0 100644 --- a/sys-apps/iproute2/iproute2-4.14.1-r2.ebuild +++ b/sys-apps/iproute2/iproute2-4.14.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -57,7 +57,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 "/^WFLAGS/s:-Werror::" \ -e "/^DBM_INCLUDE/s:=.*:=${T}:" \ 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 diff --git a/sys-apps/iproute2/iproute2-4.19.0-r1.ebuild b/sys-apps/iproute2/iproute2-4.19.0-r1.ebuild index fe34c36583b5..bc6d40709395 100644 --- a/sys-apps/iproute2/iproute2-4.19.0-r1.ebuild +++ b/sys-apps/iproute2/iproute2-4.19.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 diff --git a/sys-apps/iproute2/iproute2-4.20.0.ebuild b/sys-apps/iproute2/iproute2-4.20.0.ebuild index aa41574d98b7..be77ce0b659b 100644 --- a/sys-apps/iproute2/iproute2-4.20.0.ebuild +++ b/sys-apps/iproute2/iproute2-4.20.0.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 diff --git a/sys-apps/iproute2/iproute2-5.0.0.ebuild b/sys-apps/iproute2/iproute2-5.0.0.ebuild index 882d27c9d48d..f6ee223d9e1c 100644 --- a/sys-apps/iproute2/iproute2-5.0.0.ebuild +++ b/sys-apps/iproute2/iproute2-5.0.0.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 diff --git a/sys-apps/iproute2/iproute2-9999.ebuild b/sys-apps/iproute2/iproute2-9999.ebuild index c6720ff8aed3..d5befeb1ccff 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 -- cgit v1.2.3-65-gdbad