summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2005-01-14 22:44:26 +0000
committerDan Armak <danarmak@gentoo.org>2005-01-14 22:44:26 +0000
commit820653658ddf792ba6648a32553266ffcdb5724e (patch)
tree71cc66fd8aa1da6e96c4fbd373acec1a888021b7 /eclass/kde-meta.eclass
parentStable on sparc wrt #77734 (diff)
downloadhistorical-820653658ddf792ba6648a32553266ffcdb5724e.tar.gz
historical-820653658ddf792ba6648a32553266ffcdb5724e.tar.bz2
historical-820653658ddf792ba6648a32553266ffcdb5724e.zip
add a blocking dep to split packages on all relevant versions of the parent monolithic package
Diffstat (limited to 'eclass/kde-meta.eclass')
-rw-r--r--eclass/kde-meta.eclass11
1 files changed, 8 insertions, 3 deletions
diff --git a/eclass/kde-meta.eclass b/eclass/kde-meta.eclass
index 6f73ae830340..778cdf4f9530 100644
--- a/eclass/kde-meta.eclass
+++ b/eclass/kde-meta.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/kde-meta.eclass,v 1.11 2005/01/14 11:18:58 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.12 2005/01/14 22:44:26 danarmak Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
# Simone Gotti <simone.gotti@email.it>
@@ -105,6 +105,13 @@ DEPEND="$DEPEND kdexdeltas? ( dev-util/xdelta )"
# END adapted from kde-dist.eclass
+# Add a blocking dep on the package we're derived from
+# This is ugly, but I don't know how to get at the category of an ebuild
+for x in $(deprange-list $SLOT.0_alpha1 $SLOT.10 $(get-parent-package $(get-current-package))); do
+ DEPEND="$DEPEND !$x"
+ RDEPEND="$RDEPEND !$x"
+done
+
# Don't support prepackaged Makefiles with alpha/beta/rc version.
# DISABLED - SEMIBROKEN --danarmak
# case $myPV in
@@ -131,8 +138,6 @@ fi
# TODO FIX ends
-# The following code adds support for broken-up kde-base-derived ebuilds, e.g. a separate
-# kmail ebuild that still uses the big kdepim tarball. KM is short for 'kde meta'.
# Set the following variables in the ebuild. Only KMNAME must be set, the rest are optional.
# A directory or file can be a path with any number of components (eg foo/bar/baz.h).
# Do not include the same item in more than one of KMMODULE, KMMEXTRA, KMCOMPILEONLY, KMEXTRACTONLY, KMCOPYLIB.