--- old/opera-7.50-r1.ebuild 2004-05-25 04:48:59.000000000 +0200 +++ new/opera-7.50-r1.ebuild 2004-05-26 16:14:09.250798736 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/net-www/opera/opera-7.50-r1.ebuild,v 1.2 2004/05/25 02:16:46 weeve Exp $ -IUSE="static" +IUSE="static spell" OPERAVER="7.50-20040511" @@ -34,7 +34,7 @@ !static? ( amd64? ( =app-emulation/emul-linux-x86-qtlibs-1* ) !amd64? ( =x11-libs/qt-3* ) ) - app-text/aspell" + spell? ( app-text/aspell )" SLOT="0" LICENSE="OPERA" @@ -92,12 +92,14 @@ echo "Plugin Path=/opt/opera/lib/opera/plugins" >> ${D}/etc/opera6rc # enable spellcheck - if [ `use static` ]; then - DIR=$OPERAVER.1 - else - use sparc && DIR=$OPERAVER.2 || DIR=$OPERAVER.5 + if [ `use spell` ]; then + if [ `use static` ]; then + DIR=$OPERAVER.1 + else + use sparc && DIR=$OPERAVER.2 || DIR=$OPERAVER.5 + fi + echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini fi - echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini }