diff options
author | Dan Armak <danarmak@gentoo.org> | 2004-11-24 19:19:22 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2004-11-24 19:19:22 +0000 |
commit | 6b60a61ff82d3188954c86e5a8b3d0f98c9071dd (patch) | |
tree | 534f5fbfb642d683cd44610cd9e20b4878212ea0 /eclass/kde-meta.eclass | |
parent | Stable in x86 per security bug 71502 (diff) | |
download | historical-6b60a61ff82d3188954c86e5a8b3d0f98c9071dd.tar.gz historical-6b60a61ff82d3188954c86e5a8b3d0f98c9071dd.tar.bz2 historical-6b60a61ff82d3188954c86e5a8b3d0f98c9071dd.zip |
more syncing against berlios svn tree; fix handling versions that have xdelta support enabled but are actually the base version and so don't fetch any xdelta diffs, like koffice 1.3.4
Diffstat (limited to 'eclass/kde-meta.eclass')
-rw-r--r-- | eclass/kde-meta.eclass | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/eclass/kde-meta.eclass b/eclass/kde-meta.eclass index 3d68979ba69a..d3d8ac9f9b34 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.4 2004/11/23 19:30:55 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.5 2004/11/24 19:19:22 danarmak Exp $ # # Author Dan Armak <danarmak@gentoo.org> # Simone Gotti <simone.gotti@email.it> @@ -76,11 +76,14 @@ fi # Common xdelta code -SRC_URI="$SRC_URI kdexdeltas? ( mirror://kde/$XDELTA_BASE " -for x in $XDELTA_DELTA; do - SRC_URI="$SRC_URI mirror://kde/$x" -done -SRC_URI="$SRC_URI ) !kdexdeltas? ( mirror://kde/$SRC_PATH )" +if [ -n "$XDELTA_BASE" ]; then # depends on $PV only, so is safe to modify SRC_URI inside it + SRC_URI="$SRC_URI kdexdeltas? ( mirror://kde/$XDELTA_BASE " + for x in $XDELTA_DELTA; do + SRC_URI="$SRC_URI mirror://kde/$x" + done + SRC_URI="$SRC_URI ) !kdexdeltas? ( mirror://kde/$SRC_PATH )" +fi + debug-print "$ECLASS: finished, SRC_URI=$SRC_URI" # Necessary dep for xdeltas. Hope like hell it doesn't worm its way into RDEPEND |