summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-04-26 11:37:37 +0000
committerUlrich Müller <ulm@gentoo.org>2011-04-26 11:37:37 +0000
commit12413ed7d8a332c5edc30a538d7fbdadbe82c48a (patch)
tree8609e462e2bb636237fb2d4a85be23bb29974897 /eclass/cron.eclass
parentremoved experimental USE from 2.6.38. bug #364729 (diff)
downloadgentoo-2-12413ed7d8a332c5edc30a538d7fbdadbe82c48a.tar.gz
gentoo-2-12413ed7d8a332c5edc30a538d7fbdadbe82c48a.tar.bz2
gentoo-2-12413ed7d8a332c5edc30a538d7fbdadbe82c48a.zip
Avoid self-blocker to work around a problem in paludis, bug 364799.
Diffstat (limited to 'eclass/cron.eclass')
-rw-r--r--eclass/cron.eclass12
1 files changed, 5 insertions, 7 deletions
diff --git a/eclass/cron.eclass b/eclass/cron.eclass
index 77cd6311096b..c382fe845107 100644
--- a/eclass/cron.eclass
+++ b/eclass/cron.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.13 2011/04/20 17:49:19 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cron.eclass,v 1.14 2011/04/26 11:37:37 ulm Exp $
# @ECLASS: cron
# @MAINTAINER:
@@ -27,13 +27,11 @@ SLOT="0"
DEPEND=">=sys-apps/sed-4.0.5"
-RDEPEND="!sys-process/vixie-cron
- !sys-process/bcron
- !sys-process/cronie
- !sys-process/dcron
- !sys-process/fcron
- virtual/mta
+RDEPEND="virtual/mta
>=sys-process/cronbase-0.3.2"
+for pn in vixie-cron bcron cronie dcron fcron; do
+ [[ ${pn} == "${PN}" ]] || RDEPEND="${RDEPEND} !sys-process/${pn}"
+done
# @FUNCTION: docrondir
# @USAGE: [ dir ] [ perms ]