summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2008-12-07 23:50:37 +0000
committerChristian Faulhammer <fauli@gentoo.org>2008-12-07 23:50:37 +0000
commitd44b46c5ec1d8dddc1135fa7682f8703603d45ba (patch)
treef56ca8ecb4657c186b28478cd917d66f75877386 /mail-client
parentclean up (diff)
downloadgentoo-2-d44b46c5ec1d8dddc1135fa7682f8703603d45ba.tar.gz
gentoo-2-d44b46c5ec1d8dddc1135fa7682f8703603d45ba.tar.bz2
gentoo-2-d44b46c5ec1d8dddc1135fa7682f8703603d45ba.zip
test for USE=aspell in app-text/enchant, thanks to dirtyepic in bug 250115
(Portage version: 2.1.4.5)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/claws-mail/ChangeLog6
-rw-r--r--mail-client/claws-mail/claws-mail-3.6.1-r1.ebuild13
-rw-r--r--mail-client/claws-mail/claws-mail-3.6.1.ebuild13
3 files changed, 29 insertions, 3 deletions
diff --git a/mail-client/claws-mail/ChangeLog b/mail-client/claws-mail/ChangeLog
index e4e1473e2a9b..4355adf89e40 100644
--- a/mail-client/claws-mail/ChangeLog
+++ b/mail-client/claws-mail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-client/claws-mail
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.96 2008/12/02 22:14:55 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.97 2008/12/07 23:50:37 fauli Exp $
+
+ 07 Dec 2008; Christian Faulhammer <fauli@gentoo.org>
+ claws-mail-3.6.1.ebuild, claws-mail-3.6.1-r1.ebuild:
+ test for USE=aspell in app-text/enchant, thanks to dirtyepic in bug 250115
02 Dec 2008; Brent Baude <ranger@gentoo.org> claws-mail-3.6.1.ebuild:
Marking claws-mail-3.6.1 ppc64 for bug 248760
diff --git a/mail-client/claws-mail/claws-mail-3.6.1-r1.ebuild b/mail-client/claws-mail/claws-mail-3.6.1-r1.ebuild
index 6f83765b82c1..7aeea5ca765e 100644
--- a/mail-client/claws-mail/claws-mail-3.6.1-r1.ebuild
+++ b/mail-client/claws-mail/claws-mail-3.6.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.6.1-r1.ebuild,v 1.1 2008/12/02 20:26:24 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.6.1-r1.ebuild,v 1.2 2008/12/07 23:50:37 fauli Exp $
inherit eutils multilib
@@ -41,6 +41,17 @@ RDEPEND="${COMMONDEPEND}
x11-misc/shared-mime-info"
PLUGIN_NAMES="acpi-notifier att-remover attachwarner cachesaver etpan-privacy fetchinfo gtkhtml maildir mailmbox newmail notification pdf-viewer perl rssyl smime synce vcalendar"
+pkg_setup() {
+ # rework with EAPI=2
+ if use spell; then
+ if ! built_with_use app-text/enchant aspell; then
+ eerror
+ eerror "You need to rebuild app-text/enchant with USE=aspell enabled"
+ eerror
+ die "please rebuild app-text/enchant with USE=aspell"
+ fi
+ fi
+}
src_compile() {
local myconf="--disable-libetpan"
diff --git a/mail-client/claws-mail/claws-mail-3.6.1.ebuild b/mail-client/claws-mail/claws-mail-3.6.1.ebuild
index 37225b376839..bf4aedd10274 100644
--- a/mail-client/claws-mail/claws-mail-3.6.1.ebuild
+++ b/mail-client/claws-mail/claws-mail-3.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.6.1.ebuild,v 1.7 2008/12/02 22:14:55 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.6.1.ebuild,v 1.8 2008/12/07 23:50:37 fauli Exp $
inherit eutils multilib
@@ -41,6 +41,17 @@ RDEPEND="${COMMONDEPEND}
PLUGIN_NAMES="acpi-notifier att-remover attachwarner cachesaver etpan-privacy fetchinfo gtkhtml maildir mailmbox newmail notification pdf-viewer perl rssyl smime synce vcalendar"
+pkg_setup() {
+ if use spell; then
+ if ! built_with_use app-text/enchant aspell; then
+ eerror
+ eerror "You need to rebuild app-text/enchant with USE=aspell enabled"
+ eerror
+ die "please rebuild app-text/enchant with USE=aspell"
+ fi
+ fi
+}
+
src_compile() {
local myconf="--disable-libetpan"