summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJungmin Seo <seo@gentoo.org>2003-02-13 04:02:27 +0000
committerJungmin Seo <seo@gentoo.org>2003-02-13 04:02:27 +0000
commit68598ebeb53047e53b466be68c934cc36621fc1e (patch)
tree1d7fa6b2172e51e1ecd3f2c3fb94ee15bf637239 /net-mail
parentversion bump (diff)
downloadgentoo-2-68598ebeb53047e53b466be68c934cc36621fc1e.tar.gz
gentoo-2-68598ebeb53047e53b466be68c934cc36621fc1e.tar.bz2
gentoo-2-68598ebeb53047e53b466be68c934cc36621fc1e.zip
added pkg_setup for the correct cjk USE
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mutt/ChangeLog7
-rw-r--r--net-mail/mutt/mutt-1.4-r3.ebuild19
2 files changed, 24 insertions, 2 deletions
diff --git a/net-mail/mutt/ChangeLog b/net-mail/mutt/ChangeLog
index f6dd2124fac5..5cb9bc93bb86 100644
--- a/net-mail/mutt/ChangeLog
+++ b/net-mail/mutt/ChangeLog
@@ -1,9 +1,14 @@
# ChangeLog for net-mail/mutt
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/ChangeLog,v 1.18 2003/02/12 08:13:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/ChangeLog,v 1.19 2003/02/13 04:02:27 seo Exp $
*mutt-1.4-r3 (03 Sept 2002)
+ 14 Feb 2003; Jungmin Seo <seo@gentoo.org> mutt-1.4-r3.ebuild :
+ added pkg_setup. Now it needs WANT_JA variable to use the
+ japanese patch. This is to avoid the patch for korean or
+ chinese.
+
28 Jan 2003; Martin Holzer <mholzer@gentoo.org> mutt-1.4-r3.ebuild :
Added mbox support. Closes #13234.
diff --git a/net-mail/mutt/mutt-1.4-r3.ebuild b/net-mail/mutt/mutt-1.4-r3.ebuild
index 314310d3f5ca..0c040ecdf838 100644
--- a/net-mail/mutt/mutt-1.4-r3.ebuild
+++ b/net-mail/mutt/mutt-1.4-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/mutt-1.4-r3.ebuild,v 1.8 2003/01/28 21:00:16 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mutt/mutt-1.4-r3.ebuild,v 1.9 2003/02/13 04:02:27 seo Exp $
IUSE="ssl nls slang cjk mbox"
@@ -21,6 +21,23 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc ~alpha"
+pkg_setup() {
+
+ if [ "`use cjk`" -a "${WANT_JA}" != "yes" ]
+ then
+ echo
+ eerror "The cjk USE option is only available for japanese support"
+ eerror "If you want japanese support in mutt, please do:"
+ eerror
+ eerror " # WANT_JA=\"yes\" emerge mutt"
+ eerror
+ eerror "Otherwise, (such as Korean or Chinese)"
+ eerror
+ eerror " # USE=\"-cjk\" emerge mutt"
+ die "Wont build cjk support without being forced"
+ fi
+}
+
src_unpack() {
unpack ${P}i.tar.gz
if [ "`use cjk`" ]; then