looking at the ebuild and the variable EVO_VERSION only gets set if evolution is USEd. its then references in the unpack function and crashes when the file can't be found... >>> Unpacking mail-notification-2.0.tar.gz to /var/tmp/portage/mail-notification-2.0/work * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/mail-client/mail-notification/files/mail-notification-2.0-evolution-.diff * ( mail-notification-2.0-evolution-.diff )
Index: mail-notification-2.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-2.0.ebuild,v retrieving revision 1.6 diff -u -B -r1.6 mail-notification-2.0.ebuild --- mail-notification-2.0.ebuild 8 Apr 2006 10:51:45 -0000 1.6 +++ mail-notification-2.0.ebuild 10 Apr 2006 14:25:28 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-2.0.ebuild,v 1.6 2006/04/08 10:51:45 slarti Exp $ -inherit eutils gnome2 multilib flag-o-matic +inherit eutils gnome2 multilib flag-o-matic versionator DESCRIPTION="A GNOME trayicon which checks for mail. Supports mbox, MH, Maildir, IMAP, Sylpheed, POP3, Gmail and Evolution. Authenticates via @@ -35,7 +35,10 @@ pkg_setup() { if use evolution ; then - EVO_VERSION="$(best_version mail-client/evolution)" + EVO_INSTALLED="$(best_version mail-client/evolution)" + + EVO_VERSION=${EVO_INSTALLED##*-} + EVO_VERSION=$(get_version_component_range 1-2 ${EVO_VERSION}) fi G2CONF="${G2CONF} $(use_enable ssl)" @@ -54,7 +57,11 @@ unpack ${A} cd ${S} - epatch "${FILESDIR}/${P}-evolution-${EVO_VERSION}.diff" + if use evolution + then + epatch "${FILESDIR}/${P}-evolution-${EVO_VERSION}.diff" + fi + epatch "${FILESDIR}/${P}-buildfix.diff" epatch "${FILESDIR}/${P}-gmail-properties-fix.diff"
In CVS, thanks.
*** Bug 129509 has been marked as a duplicate of this bug. ***