commit:     be181e0c76f2e0c99b4652f4be9d079010b2ebae
Author:     PPed72 <paolo.pedroni <AT> iol <DOT> it>
AuthorDate: Thu Nov 26 10:57:25 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 07:56:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be181e0c

net-misc/netkit-telnetd: change sed delimiter

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

 net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 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 c2f66be105d..defc1918c5c 100644
--- a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
+++ b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild
@@ -36,17 +36,17 @@ src_prepare() {
        # better to just stay in sync with debian's own netkit-telnet
        # package. Lots of bug fixes by them over time which were not in
        # our telnetd.
-       EPATCH_FORCE="yes" EPATCH_SUFFIX="diff" eapply 
"${WORKDIR}"/debian/patches
+       EPATCH_FORCE="yes" EPATCH_SUFFIX="diff" eapply 
"${WORKDIR}/debian/patches"
 
        # Patch: [1]
        # after the deb patch we need to add a small patch that defines
        # gnu source. This is needed for gcc-3.4.x (needs to be pushed
        # back to the deb folk?)
-       eapply "${FILESDIR}"/netkit-telnetd-0.17-cflags-gnu_source.patch
+       eapply "${FILESDIR}/netkit-telnetd-0.17-cflags-gnu_source.patch"
 
        # 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
 }
 
@@ -81,9 +81,9 @@ src_install() {
        dosym telnetd.8 /usr/share/man/man8/in.telnetd.8
        doman telnetlogin/telnetlogin.8
        dodoc BUGS ChangeLog README
-       dodoc "${FILESDIR}"/net.issue.sample
+       dodoc "${FILESDIR}/net.issue.sample"
        newdoc telnet/README README.telnet
        newdoc telnet/TODO TODO.telnet
        insinto /etc/xinetd.d
-       newins "${FILESDIR}"/telnetd.xinetd telnetd
+       newins "${FILESDIR}/telnetd.xinetd" telnetd
 }

Reply via email to