--- fasttree-2.0.1.ebuild.orig 2009-12-06 19:44:47.967919164 +0100 +++ fasttree-2.0.1.ebuild.orig 2009-12-06 19:43:55.425150106 +0100 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/fasttree/fasttree-2.0.1.ebuild,v 1.1 2009/09/10 23:14:22 weaver Exp $ +inherit eutils + EAPI="2" DESCRIPTION="Fast inference of approximately-maximum-likelihood phylogenetic trees" @@ -17,6 +19,10 @@ DEPEND="" RDEPEND="" +src_prepare() { + epatch "${FILESDIR}/${P}-as-needed.patch" +} + src_install() { dobin FastTree FastTreeUPGMA || die insinto /usr/share/${PN}