From 444fe3c9574385c754d4f36805a15e77e4b81ae8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 12 Aug 2015 11:56:06 -0400 Subject: [PATCH] net-misc/netkit-telnetd: fix build when /bin/sh->dash --- net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild | 5 +++++ 1 file changed, 5 insertions(+) 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() { -- 2.26.2