--- /usr/portage/tree/eclass/gnome2.eclass 2009-02-17 11:10:17.000000000 -0500 +++ gnome2.eclass 2009-03-29 14:32:28.000000000 -0400 @@ -66,8 +66,10 @@ fi # Prevent a QA warning - if hasq doc ${IUSE} ; then - G2CONF="${G2CONF} $(use_enable doc gtk-doc)" + if [[ ${GCONF_GTKDOC} != 'no' ]] ; then + if hasq doc ${IUSE} ; then + G2CONF="${G2CONF} $(use_enable doc gtk-doc)" + fi fi # Avoid sandbox violations caused by misbehaving packages (bug #128289)