From 78be489d8d5e4928e7e260dbf3467db90ecdbdb1 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 7 Dec 2006 03:13:25 +0000 Subject: [PATCH] add patch from betelguese to fix QA warning (bug #107962) --- eclass/gnome2.eclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index e38fcaa60a70..444a03994271 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.75 2006/10/31 17:08:44 allanonjl Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.76 2006/12/07 03:13:25 compnerd Exp $ # GNOME 2 ECLASS inherit libtool gnome.org debug fdo-mime eutils @@ -47,7 +47,11 @@ gnome2_src_configure() { G2CONF="${G2CONF} --enable-debug=yes" fi fi - G2CONF="${G2CONF} $(use_enable doc gtk-doc)" + + # Prevent a QA warning + if hasq doc ${IUSE} ; then + G2CONF="${G2CONF} $(use_enable doc gtk-doc)" + fi # Run libtoolize elibtoolize ${ELTCONF} -- 2.26.2