summaryrefslogtreecommitdiff
path: root/eclass
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
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')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/gnome2.eclass4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 0ac4455ebd0e..24908d82844f 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.244 2012/05/08 22:00:49 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.245 2012/05/09 08:23:14 pacho Exp $
+
+ 09 May 2012; Pacho Ramos <pacho@gentoo.org> gnome2.eclass:
+ Don't call gtk-doc configure option when not available
08 May 2012; Andreas K. Huettel <dilfridge@gentoo.org> kde4-base.eclass,
kde4-functions.eclass, kde4-meta.eclass, kde4-meta-pkg.eclass:
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