--- a/sys-block/gpart/gpart-0.1h-r2.ebuild 2010-03-29 08:07:32.000000000 +0100 +++ b/sys-block/gpart/gpart-0.1h-r2.ebuild 2010-11-02 15:47:30.000000000 +0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-block/gpart/gpart-0.1h-r2.ebuild,v 1.4 2010/03/29 06:40:52 jer Exp $ -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="Partition table rescue/guessing tool" HOMEPAGE="http://www.stud.uni-hannover.de/user/76201/gpart/" @@ -29,6 +29,11 @@ src_unpack() { sed -i -e "/^LDFLAGS/s:=:=${LDFLAGS} :" make.defs } +src_compile() { + append-lfs-flags + emake || die "emake failed" +} + src_install() { dobin src/gpart || die doman man/gpart.8