summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-07-27 17:02:41 +0000
committerMike Frysinger <vapier@gentoo.org>2012-07-27 17:02:41 +0000
commit7c77d0ade34a6f30e97cda3c485b743cebdc825b (patch)
treed24b895257de1f3086e5385926407fb1eaf5b40b /eclass
parentNew version for Audacious 3.3 (diff)
downloadgentoo-2-7c77d0ade34a6f30e97cda3c485b743cebdc825b.tar.gz
gentoo-2-7c77d0ade34a6f30e97cda3c485b743cebdc825b.tar.bz2
gentoo-2-7c77d0ade34a6f30e97cda3c485b743cebdc825b.zip
recognize x.x.90 versions as official GNU binutils snapshots
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 2f74ef841abf..d622b7f9017d 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# 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.115 2012/05/31 17:45:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.116 2012/07/27 17:02:41 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -21,6 +21,7 @@ else
99999999) BTYPE="cvs";;
9999) BTYPE="git";;
9999_pre*) BTYPE="snap";;
+ *.*.90) BTYPE="snap";;
*.*.*.*.*) BTYPE="hjlu";;
*) BTYPE="rel";;
esac
@@ -64,7 +65,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" ;;
+ snap)
+ SRC_URI="ftp://gcc.gnu.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2
+ ftp://sourceware.org/pub/binutils/snapshots/binutils-${BVER}.tar.bz2" ;;
hjlu)
SRC_URI="mirror://kernel/linux/devel/binutils/binutils-${BVER}.tar."
version_is_at_least 2.21.51.0.5 && SRC_URI+="xz" || SRC_URI+="bz2" ;;