diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-27 10:52:04 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-27 10:52:04 +0000 |
commit | c456074aa36fbdcb080ebcdaf5780c28ac925a57 (patch) | |
tree | 188d38d0ee4279cb751b9636347a7cede961e34c /eclass/kde.eclass | |
parent | Add a patch to fix security bug #138125. Also use autotools.eclass to reconfi... (diff) | |
download | gentoo-2-c456074aa36fbdcb080ebcdaf5780c28ac925a57.tar.gz gentoo-2-c456074aa36fbdcb080ebcdaf5780c28ac925a57.tar.bz2 gentoo-2-c456074aa36fbdcb080ebcdaf5780c28ac925a57.zip |
Don't extract the whole tarball when using meta, run unpack only if the source directory is missing. Tweak a bit the message to be similar to the one used by portage.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 52517a4c6599..d808b00ec069 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.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.eclass,v 1.168 2006/06/15 16:33:39 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.169 2006/06/27 10:52:04 flameeyes Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -87,12 +87,14 @@ kde_pkg_setup() { kde_src_unpack() { debug-print-function $FUNCNAME $* + [[ -z ${KDE_S} ]] && KDE_S="${S}" + local PATCHDIR="${WORKDIR}/patches/" if [[ -z $* ]] ; then # Unpack first and deal with KDE patches after examing possible patch sets. - # To be picked up, patches need to be named $PN-$PV-*{diff,patch} and be + # To be picked up, patches need to be named $PN-$PV-*{diff,patch} and be # placed in $PATCHDIR. Monolithic ebuilds will use the split ebuild patches. - base_src_unpack unpack + [[ -d ${KDE_S} ]] || base_src_unpack unpack if [[ -d "${PATCHDIR}" ]] ; then if is-parent-package ${CATEGORY}/${PN} ; then packages="$(get-child-packages ${CATEGORY}/${PN})" @@ -114,8 +116,6 @@ kde_src_unpack() { base_src_unpack $* fi - [[ -z ${KDE_S} ]] && KDE_S="${S}" - # if extragear-like packaging is enabled, set the translations and the # documentation depending on LINGUAS settings if [[ -n ${USE_KEG_PACKAGING} ]]; then |