summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-05-09 08:23:14 +0000
committerPacho Ramos <pacho@gentoo.org>2012-05-09 08:23:14 +0000
commit3bf718ba6ba5fbba789bdffd2c62fb0a8fc6e962 (patch)
tree25c2a03a45211d89091a1ee914a6fa850f9dfe78 /eclass/gnome2.eclass
parentmarked x86 per bug 414483 (diff)
downloadgentoo-2-3bf718ba6ba5fbba789bdffd2c62fb0a8fc6e962.tar.gz
gentoo-2-3bf718ba6ba5fbba789bdffd2c62fb0a8fc6e962.tar.bz2
gentoo-2-3bf718ba6ba5fbba789bdffd2c62fb0a8fc6e962.zip
Don't call gtk-doc configure option when not available
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 6a8288422143..393fa9423dfe 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.105 2012/05/02 21:05:38 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.106 2012/05/09 08:23:14 pacho Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@@ -117,7 +117,7 @@ gnome2_src_configure() {
# Prevent a QA warning
if has doc ${IUSE} ; then
- G2CONF="${G2CONF} $(use_enable doc gtk-doc)"
+ grep -q "enable-gtk-doc" configure && G2CONF="${G2CONF} $(use_enable doc gtk-doc)"
fi
# Pass --disable-maintainer-mode when needed