summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-12-07 03:13:25 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-12-07 03:13:25 +0000
commit9ac560dd18888301a2d6a4d1c7054971ffbbd463 (patch)
tree3ca6072057bdfa801313b4e6381ed0b6eb49df0b /eclass
parentFix compiling against newer libdrms (2.2.0+). Thanks for Mart Raudsepp for (diff)
downloadgentoo-2-9ac560dd18888301a2d6a4d1c7054971ffbbd463.tar.gz
gentoo-2-9ac560dd18888301a2d6a4d1c7054971ffbbd463.tar.bz2
gentoo-2-9ac560dd18888301a2d6a4d1c7054971ffbbd463.zip
add patch from betelguese to fix QA warning (bug #107962)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnome2.eclass8
1 files 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}