net-misc/netkit-telnetd: fix build when /bin/sh->dash
authorMike Frysinger <vapier@gentoo.org>
Wed, 12 Aug 2015 15:56:06 +0000 (11:56 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 12 Aug 2015 15:56:38 +0000 (11:56 -0400)
net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild

index 7e7f7a21d3dbe5ef5124cc017a844131c3d7f147..e8fdf32c41a078296e5dd4364ba4fcb73f264b80 100644 (file)
@@ -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() {