commit:     2a20151f44f68e3215a2ca7f926bcc51203a3a37
Author:     PPed72 <paolo.pedroni <AT> iol <DOT> it>
AuthorDate: Tue Mar 24 15:08:11 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 26 14:00:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a20151f

net-misc/netkit-telnetd: Fix 'sed' delimiter

Also fixes copyright date and attribution

Closes: https://bugs.gentoo.org/711050
Signed-off-by: Paolo Pedroni <paolo.pedroni <AT> iol.it>
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/15086
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 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 e041e858c76..4c17078b18a 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
 }
 

Reply via email to