summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2006-01-13 18:47:52 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2006-01-13 18:47:52 +0000
commit721ef256b38111d66e1cf526b0ec61a34263f5c1 (patch)
tree4e05389cbb6cf41e574a2b515ecaf916259dd3e8 /eclass
parentmarking stable sparc x86 (diff)
downloadgentoo-2-721ef256b38111d66e1cf526b0ec61a34263f5c1.tar.gz
gentoo-2-721ef256b38111d66e1cf526b0ec61a34263f5c1.tar.bz2
gentoo-2-721ef256b38111d66e1cf526b0ec61a34263f5c1.zip
util-macros shouldn't DEPEND on itself. Makes it a tad difficult to install with a correct dep resolver. Reported by ciaranm.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/x-modular.eclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass
index 2a47bf323790..6b16fb6993f9 100644
--- a/eclass/x-modular.eclass
+++ b/eclass/x-modular.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.38 2006/01/05 07:24:03 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.39 2006/01/13 18:47:52 spyderous Exp $
#
# Author: Donnie Berkholz <spyderous@gentoo.org>
#
@@ -109,8 +109,12 @@ if [[ "${PN/#xf86-video}" != "${PN}" ]] || [[ "${PN/#xf86-input}" != "${PN}" ]];
fi
DEPEND="${DEPEND}
- >=dev-util/pkgconfig-0.18
- >=x11-misc/util-macros-0.99.2"
+ >=dev-util/pkgconfig-0.18"
+
+if [[ "${PN/util-macros}" != "${PN}" ]]; then
+ DEPEND="${DEPEND}
+ >=x11-misc/util-macros-0.99.2"
+fi
# >=sys-apps/man-1.6b-r2 required to look in [0-8]x/ directories
RDEPEND="${RDEPEND}