diff options
author | Pacho Ramos <pacho@gentoo.org> | 2011-02-07 11:46:24 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2011-02-07 11:46:24 +0000 |
commit | 0a2b71df123d0c1a3d788716ff14b0be3e9ff3c0 (patch) | |
tree | 0d5a436ef1af9521fcba8069529fccf9aa27cf49 /eclass/emul-linux-x86.eclass | |
parent | Initial import. Split from media-libs/libsfml. (diff) | |
download | gentoo-2-0a2b71df123d0c1a3d788716ff14b0be3e9ff3c0.tar.gz gentoo-2-0a2b71df123d0c1a3d788716ff14b0be3e9ff3c0.tar.bz2 gentoo-2-0a2b71df123d0c1a3d788716ff14b0be3e9ff3c0.zip |
Fix SRC_URI for older versions (bug #353904 by Sven Vermeulen).
Diffstat (limited to 'eclass/emul-linux-x86.eclass')
-rw-r--r-- | eclass/emul-linux-x86.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/emul-linux-x86.eclass b/eclass/emul-linux-x86.eclass index edc2446d35a1..07c80127803c 100644 --- a/eclass/emul-linux-x86.eclass +++ b/eclass/emul-linux-x86.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.7 2011/01/30 00:23:33 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/emul-linux-x86.eclass,v 1.8 2011/02/07 11:46:24 pacho Exp $ # # Original Author: Mike Doty <kingtaco@gentoo.org> @@ -18,7 +18,11 @@ fi EXPORT_FUNCTIONS src_unpack src_install -SRC_URI="http://dev.gentoo.org/~pacho/emul/${P}.tar.bz2" +if version_is_at_least 20110129; then + SRC_URI="http://dev.gentoo.org/~pacho/emul/${P}.tar.bz2" +else + SRC_URI="mirror://gentoo/${PN}-${PV}.tar.bz2" +fi DESCRIPTION="Provides precompiled 32bit libraries" #HOMEPAGE="http://amd64.gentoo.org/emul/content.xml" |