--- diffutils-2.8.7-r2.ebuild 2008-03-31 01:37:06.000000000 +0200 +++ diffutils-2.8.7-r3.ebuild 2008-04-06 17:38:00.128174000 +0200 @@ -12,7 +12,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="nls static" +IUSE="nls static rootfs" RDEPEND="userland_GNU? ( >=sys-apps/man-pages-2.46 )" DEPEND="${RDEPEND} @@ -46,7 +46,11 @@ src_compile() { use static && append-ldflags -static - econf $(use_enable nls) || die "econf" + local myconf="" + if use rootfs ; then + myconf="${myconf} --bindir=/bin --sbindir=/sbin" + fi + econf $(use_enable nls) ${myconf} || die "econf" emake || die "make" }