--- bluefish-0.7.ebuild Tue Dec 4 18:22:59 2001 +++ bluefish-0.7-r1.ebuild Mon Mar 11 08:45:25 2002 @@ -10,20 +10,19 @@ DEPEND=">=x11-libs/gtk+-1.2.10-r4 >=media-libs/imlib-1.9.10-r1 - perl? ( sys-devel/perl )" + perl? ( sys-devel/perl ) + nls? ( sys-devel/gettext )" src_compile() { local myconf - if [ "`use perl`" ] - then - myconf="$myconf --with-perl" - fi + use perl && myconf="${myconf} --with-perl" + use nls || myconf="${myconf} --disable-nls" ./configure --prefix=/usr \ --host=${CHOST} \ --with-autocomplet \ - $myconf || die + ${myconf} || die emake || die