summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-05 02:33:43 +0000
committerMike Frysinger <vapier@gentoo.org>2012-02-05 02:33:43 +0000
commitb72bf9c45d3f36f1a9c29fe14ca73ff4e9baa486 (patch)
treeb332080b32ff9174a8f6806fdc2761a1d57be438 /eclass
parentUse autoreconf from autotools-utils eclass for old version too. (diff)
downloadhistorical-b72bf9c45d3f36f1a9c29fe14ca73ff4e9baa486.tar.gz
historical-b72bf9c45d3f36f1a9c29fe14ca73ff4e9baa486.tar.bz2
historical-b72bf9c45d3f36f1a9c29fe14ca73ff4e9baa486.zip
restore kernel.org mirrors for hjlu snapshots
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass15
1 files changed, 6 insertions, 9 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index aa056ae2b1ab..cbb77bb437f6 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.108 2011/12/21 21:44:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.109 2012/02/05 02:33:43 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -21,6 +21,7 @@ else
99999999) BTYPE="cvs";;
9999) BTYPE="git";;
9999_pre*) BTYPE="snap";;
+ *.*.*.*.*) BTYPE="hjlu";;
*) BTYPE="rel";;
esac
fi
@@ -63,13 +64,9 @@ HOMEPAGE="http://sources.redhat.com/binutils/"
case ${BTYPE} in
cvs|git) SRC_URI="" ;;
- snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2";;
- rel)
- SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/binutils-${BVER}.tar.bz2
- mirror://gnu/binutils/binutils-${BVER}.tar.bz2"
- # disable kernel mirrors until kernel.org is back up #383579
- SRC_URI="mirror://gnu/binutils/binutils-${BVER}.tar.bz2"
+ snap) SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;;
+ hjlu) SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar.bz2" ;;
+ rel) SRC_URI="mirror://gnu/binutils/binutils-${BVER}.tar.bz2" ;;
esac
add_src_uri() {
[[ -z $2 ]] && return