From: Mike Frysinger Date: Wed, 12 Aug 2015 15:56:06 +0000 (-0400) Subject: net-misc/netkit-telnetd: fix build when /bin/sh->dash X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=444fe3c9574385c754d4f36805a15e77e4b81ae8;p=gentoo.git net-misc/netkit-telnetd: fix build when /bin/sh->dash --- diff --git a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild index 7e7f7a21d3db..e8fdf32c41a0 100644 --- a/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild +++ b/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild @@ -44,6 +44,11 @@ src_prepare() { # gnu source. This is needed for gcc-3.4.x (needs to be pushed # back to the deb folk?) epatch "${FILESDIR}"/netkit-telnetd-0.17-cflags-gnu_source.patch + + # Fix portability issues. + sed -i \ + -e 's:echo -n:printf %s:' \ + configure || die } src_configure() {