diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2006-06-11 10:28:58 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2006-06-11 10:28:58 +0000 |
commit | 27f55136edd747d61cfac4eff15672f0b3030a0c (patch) | |
tree | f142007c5f86f40f4578413f46f9090792e32246 /eclass/kde-functions.eclass | |
parent | Stable on hppa. (diff) | |
download | historical-27f55136edd747d61cfac4eff15672f0b3030a0c.tar.gz historical-27f55136edd747d61cfac4eff15672f0b3030a0c.tar.bz2 historical-27f55136edd747d61cfac4eff15672f0b3030a0c.zip |
Improved KDE patch handling.
Diffstat (limited to 'eclass/kde-functions.eclass')
-rw-r--r-- | eclass/kde-functions.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass index d1b9a479febd..bed7c69f8b9c 100644 --- a/eclass/kde-functions.eclass +++ b/eclass/kde-functions.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-functions.eclass,v 1.140 2006/06/06 22:19:13 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.141 2006/06/11 10:28:58 carlo Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -377,6 +377,13 @@ get-child-packages () { done } +is-parent-package() { + echo "$KDE_DERIVATION_MAP" | while read parent child; do + [[ "${parent}" == "$1" ]] && return 1 + done + return 0 +} + # convinience functions for requesting autotools versions need-automake() { |