diff -ur a/ypbind-1.19.1-r1.ebuild b/ypbind-1.19.1-r1.ebuild --- a/ypbind-1.19.1-r1.ebuild 2008-11-20 15:36:31.000000000 -0600 +++ b/ypbind-1.19.1-r1.ebuild 2009-02-13 20:56:15.000000000 -0600 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-nds/ypbind/ypbind-1.19.1-r1.ebuild,v 1.5 2008/11/20 21:20:36 jer Exp $ +inherit autotools + MY_P=${PN}-mt-${PV} S="${WORKDIR}/${MY_P}" @@ -20,6 +22,13 @@ DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e '/^INSTALL_PROGRAM/s/ -s / /' src/Makefile.am || die "Failed to remove strip flag from upstream Makefile.am" + eautoreconf +} + src_compile() { econf $(use_enable nls) $(use_enable slp) emake || die "emake failed"