diff options
author | Jungmin Seo <seo@gentoo.org> | 2003-02-13 04:02:27 +0000 |
---|---|---|
committer | Jungmin Seo <seo@gentoo.org> | 2003-02-13 04:02:27 +0000 |
commit | 68598ebeb53047e53b466be68c934cc36621fc1e (patch) | |
tree | 1d7fa6b2172e51e1ecd3f2c3fb94ee15bf637239 /net-mail/mutt/mutt-1.4-r3.ebuild | |
parent | version bump (diff) | |
download | gentoo-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/mutt/mutt-1.4-r3.ebuild')
-rw-r--r-- | net-mail/mutt/mutt-1.4-r3.ebuild | 19 |
1 files changed, 18 insertions, 1 deletions
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 |