diff options
author | PPed72 <paolo.pedroni@iol.it> | 2020-11-26 11:57:25 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-12-01 09:56:02 +0200 |
commit | be181e0c76f2e0c99b4652f4be9d079010b2ebae (patch) | |
tree | 8083320bea2a962dbce82357ea0fa8d6a9f13fe0 /net-misc/netkit-telnetd | |
parent | sys-devel/slibtool: version bump to 0.5.31 (diff) | |
download | gentoo-be181e0c76f2e0c99b4652f4be9d079010b2ebae.tar.gz gentoo-be181e0c76f2e0c99b4652f4be9d079010b2ebae.tar.bz2 gentoo-be181e0c76f2e0c99b4652f4be9d079010b2ebae.zip |
net-misc/netkit-telnetd: change sed delimiter
Closes: https://bugs.gentoo.org/715706
Signed-off-by: Paolo Pedroni <paolo.pedroni@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@gentoo.org>
Diffstat (limited to 'net-misc/netkit-telnetd')
-rw-r--r-- | net-misc/netkit-telnetd/netkit-telnetd-0.17-r12.ebuild | 16 |
1 files 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 c2f66be105d3..defc1918c5c0 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 } |