summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn N. Laliberte <allanonjl@gentoo.org>2006-06-12 14:40:49 +0000
committerJohn N. Laliberte <allanonjl@gentoo.org>2006-06-12 14:40:49 +0000
commita2931001533811d7552809b1717a14cee8a9f1f4 (patch)
tree2cbd75701b264f2dbf8518b80d94f3f7c8bb9665
parentFix for bug #99711. Failure to set permissions correctly. (diff)
downloadhistorical-a2931001533811d7552809b1717a14cee8a9f1f4.tar.gz
historical-a2931001533811d7552809b1717a14cee8a9f1f4.tar.bz2
historical-a2931001533811d7552809b1717a14cee8a9f1f4.zip
remove spurious || use debug to fix logic. thanks to marienz.
-rw-r--r--eclass/gnome2.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index fc87792836aa..b17bf19e0bb3 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.71 2006/06/07 21:13:17 allanonjl Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.72 2006/06/12 14:40:49 allanonjl Exp $
# GNOME 2 ECLASS
inherit libtool gnome.org debug fdo-mime eutils
@@ -42,8 +42,10 @@ gnome2_src_unpack() {
gnome2_src_configure() {
# Update the GNOME configuration options
- if [[ ${GCONF_DEBUG} != 'no' ]] || use debug ; then
- use debug && G2CONF="${G2CONF} --enable-debug=yes"
+ if [[ ${GCONF_DEBUG} != 'no' ]] ; then
+ if use debug ; then
+ G2CONF="${G2CONF} --enable-debug=yes"
+ fi
fi
G2CONF="${G2CONF} $(use_enable doc gtk-doc)"