summaryrefslogtreecommitdiff
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
commit9bbae67566e1e4b2b2795f1242ca1bc2d0c6b110 (patch)
tree9817c1905de9e5ef16a87c2413d7e86ce47c90ee /eclass/toolchain-binutils.eclass
parentUse autoreconf from autotools-utils eclass for old version too. (diff)
downloadgentoo-2-9bbae67566e1e4b2b2795f1242ca1bc2d0c6b110.tar.gz
gentoo-2-9bbae67566e1e4b2b2795f1242ca1bc2d0c6b110.tar.bz2
gentoo-2-9bbae67566e1e4b2b2795f1242ca1bc2d0c6b110.zip
restore kernel.org mirrors for hjlu snapshots
Diffstat (limited to 'eclass/toolchain-binutils.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