From 2a20151f44f68e3215a2ca7f926bcc51203a3a37 Mon Sep 17 00:00:00 2001 From: PPed72 Date: Tue, 24 Mar 2020 16:08:11 +0100 Subject: [PATCH] net-misc/netkit-telnetd: Fix 'sed' delimiter Also fixes copyright date and attribution Closes: https://bugs.gentoo.org/711050 Signed-off-by: Paolo Pedroni Package-Manager: Portage-2.3.89, Repoman-2.3.20 Closes: https://github.com/gentoo/gentoo/pull/15086 Signed-off-by: Joonas Niilola --- net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild index e041e858c76c..4c17078b18ae 100644 --- a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild +++ b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -46,7 +46,7 @@ src_prepare() { # Fix portability issues. sed -i \ - -e 's:echo -n:printf %s:' \ + -e 's/echo -n/printf %s/' \ configure || die default } @@ -58,9 +58,9 @@ src_configure() { ./configure --prefix=/usr || die sed -i \ - -e "s:-pipe -O2:${CFLAGS}:" \ - -e "s:^\(LDFLAGS=\).*:\1${LDFLAGS}:" \ - -e "s:-Wpointer-arith::" \ + -e "s/-pipe -O2/${CFLAGS}/" \ + -e "s/^\(LDFLAGS=\).*/\1${LDFLAGS}/" \ + -e "s/-Wpointer-arith//" \ MCONFIG || die } -- 2.26.2