--- libetpan-0.57-r1.ebuild.orig 2010-03-19 12:58:38.298689037 +0100 +++ libetpan-0.57-r1.ebuild.orig 2010-03-19 12:58:18.014678858 +0100 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/libetpan/libetpan-0.57-r1.ebuild,v 1.2 2010/01/10 18:50:26 a3li Exp $ +inherit autotools eutils + DESCRIPTION="A portable, efficient middleware for different kinds of mail access." HOMEPAGE="http://libetpan.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -20,9 +22,8 @@ src_unpack() { unpack ${A} cd "${S}" - # temp fix for bug #286620, also look for db-4.8, upstream will likely fix - # this in their next release - sed -i -e '/db-4.7 db-4.6/s/db-4.7/db-4.8 db-4.7/' configure || die + epatch "${FILESDIR}"/${P}-QA.patch + eautoreconf } src_compile() {