--- gnome-print-0.35.ebuild Thu Mar 7 16:39:16 2002 +++ gnome-print-0.35-r1.ebuild Thu Mar 7 16:32:31 2002 @@ -16,7 +16,8 @@ sys-devel/gettext sys-devel/perl tex? ( app-text/tetex ) - >=app-text/ghostscript-6.50-r2" + >=app-text/ghostscript-6.50-r2 + nls? ( sys-deve;/gettext )" src_unpack() { unpack ${A} @@ -28,10 +29,16 @@ } src_compile() { + + local myconf + + use nls || myconf="${myconf} --disable-nls" + ./configure --host=${CHOST} \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var/lib || die + --localstatedir=/var/lib \ + ${myconf} || die emake || die }