<snip> if ! use firefox; then local moz_use="$(</var/db/pkg/`best_version www-client/mozilla`/USE)" if ! has_version '>=www-client/mozilla-1.7.3-r2' && ! has gtk2 ${moz_use} then echo eerror eerror "This needs mozilla used gtk2." eerror "To build mozilla use gtk2, please type following command:" eerror eerror " # USE=\"gtk2\" emerge mozilla" eerror die fi fi } </snip> That's what built_with_use from eutils.eclass is for. Besides, the above isn't ${ROOT} aware, so it can fail.
Uhm, and the grammar needs some make-up as well... ;) Like: eerror "This ebuild needs mozilla built with USE=???." eerror "To rebuild mozilla with USE=???, please type the following command:" eerror eerror " # USE=\"???\" emerge mozilla" And - worst of all, there's no gtk2 use flag in mozilla ebuilds, so this check will always fails.
ping - 2 months
since kazehakase-0.3.9, I removed built_with_use from ebuild. and I think remove kazehakase-cvs from portage tree.
0.3.9 stable now. Removed old versions.
*** Bug 150089 has been marked as a duplicate of this bug. ***