summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-07-18 22:48:15 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-07-18 22:48:15 +0000
commit16aba3fcd00c58d7a830ad7e52284b4ae0d57127 (patch)
tree55ab7541d9fd7da679f96ff43898e185639bef29 /eclass
parentchange profiling USE to debug (diff)
downloadgentoo-2-16aba3fcd00c58d7a830ad7e52284b4ae0d57127.tar.gz
gentoo-2-16aba3fcd00c58d7a830ad7e52284b4ae0d57127.tar.bz2
gentoo-2-16aba3fcd00c58d7a830ad7e52284b4ae0d57127.zip
well, lets uncomplicate things a little more
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gtk-engines2.eclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/eclass/gtk-engines2.eclass b/eclass/gtk-engines2.eclass
index 7cc1526c9bed..10a9cbc0bf5c 100644
--- a/eclass/gtk-engines2.eclass
+++ b/eclass/gtk-engines2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines2.eclass,v 1.3 2003/07/16 18:00:13 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines2.eclass,v 1.4 2003/07/18 22:48:15 liquidx Exp $
# Author: Alastair Tse <liquidx@gentoo.org>
#
@@ -75,9 +75,7 @@ fi
# --- tell us what DEPEND it wants.
if ! has_version "x11-libs/gtk+"; then
- use gtk2 \
- && newdepend ">=x11-libs/gtk+-2" \
- || newdepend "=x11-libs/gtk+-1.2*"
+ newdepend "gtk2? ( >=x11-libs/gtk+-2 ) : ( =x11-libs/gtk+-1.2* )"
fi
# --- if GTK1_S and GTK2_S is set, then we do both themes,