--- /usr/portage/mail-client/claws-mail/claws-mail-3.7.5.ebuild 2010-03-11 22:05:51.000000000 +0100 +++ claws-mail-3.7.5.ebuild 2010-04-09 19:06:10.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.5.ebuild,v 1.5 2010/03/11 20:39:27 maekke Exp $ -inherit eutils multilib +inherit eutils multilib autotools DESCRIPTION="An email client (and news reader) based on GTK+" HOMEPAGE="http://www.claws-mail.org/" @@ -42,6 +42,16 @@ PLUGIN_NAMES="acpi-notifier archive att-remover attachwarner bsfilter cachesaver fancy fetchinfo gtkhtml mailmbox newmail notification perl rssyl spam_report tnef_parse vcalendar" +src_unpack() { + unpack ${A} || die "failed to unpack sources" + cd "${S}" || die "failed to go in sources directory" + + # fix libetpan >= 0.57 check in configure.ac that fails with libetpan-1.0 + # see bug #314181 + epatch "${FILESDIR}/${P}-fix-libetpan-check.patch" + eautoreconf +} + src_compile() { local myconf="--disable-libetpan --disable-gnutls"