summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2006-04-26 18:02:19 +0000
committerTom Martin <slarti@gentoo.org>2006-04-26 18:02:19 +0000
commitfa44df55d98701961981eea284af2ecbf2237825 (patch)
tree1ac72754e466fd003f18aba34283e72960e13355 /mail-client/mail-notification/mail-notification-2.0.ebuild
parentAdd compatibility function: open-network-stream-server; Resolves Bug #125322. (diff)
downloadgentoo-2-fa44df55d98701961981eea284af2ecbf2237825.tar.gz
gentoo-2-fa44df55d98701961981eea284af2ecbf2237825.tar.bz2
gentoo-2-fa44df55d98701961981eea284af2ecbf2237825.zip
Previous changes didn't work. Second try.
(Portage version: 2.1_pre9-r4)
Diffstat (limited to 'mail-client/mail-notification/mail-notification-2.0.ebuild')
-rw-r--r--mail-client/mail-notification/mail-notification-2.0.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail-client/mail-notification/mail-notification-2.0.ebuild b/mail-client/mail-notification/mail-notification-2.0.ebuild
index d6f12c33dac7..3e8253a678af 100644
--- a/mail-client/mail-notification/mail-notification-2.0.ebuild
+++ b/mail-client/mail-notification/mail-notification-2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# 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.8 2006/04/25 16:53:00 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mail-notification/mail-notification-2.0.ebuild,v 1.9 2006/04/26 18:02:18 slarti Exp $
inherit eutils gnome2 multilib flag-o-matic versionator
@@ -36,7 +36,9 @@ DEPEND=">=x11-libs/gtk+-2.6
pkg_setup() {
if use evolution ; then
EVO_INSTALLED="$(best_version mail-client/evolution)"
- EVO_VERSION=$(get_version_component_range 1-2 ${EVO_INSTALLED})
+ EVO_INSTALLED="${EVO_INSTALLED##*/}"
+ EVO_INSTALLED="${EVO_INSTALLED#*-}"
+ EVO_VERSION="$(get_version_component_range 1-2 ${EVO_INSTALLED})"
fi
G2CONF="${G2CONF} $(use_enable ssl)"