--- Gentoo/usr/portage/sys-apps/findutils/findutils-4.5.11.ebuild~ 2013-05-09 19:32:05.000000000 +0200 +++ Gentoo/usr/portage/sys-apps/findutils/findutils-4.5.11.ebuild 2013-05-28 20:44:22.000000000 +0200 @@ -4,7 +4,7 @@ EAPI="3" -inherit eutils flag-o-matic toolchain-funcs multilib +inherit eutils flag-o-matic toolchain-funcs multilib autotools DESCRIPTION="GNU utilities for finding files" HOMEPAGE="http://www.gnu.org/software/findutils/" @@ -24,7 +24,9 @@ src_prepare() { # Don't build or install locate because it conflicts with slocate, # which is a secure version of locate. See bug 18729 - sed -i '/^SUBDIRS/s/locate//' Makefile.in + sed -i '/^SUBDIRS/s/locate//' Makefile.am + epatch "${FILESDIR}/${P}-unlinkat.patch" + eautoreconf || die } src_configure() {