diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-05-15 00:48:11 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-05-15 00:48:11 +0000 |
commit | 57f1904a73a0579ada1644d016e37e570888115c (patch) | |
tree | ef15511158c9db69518ba412a5176e6aeff267b5 /eclass | |
parent | 2.1_rc1-r2 bug fix revbump (diff) | |
download | historical-57f1904a73a0579ada1644d016e37e570888115c.tar.gz historical-57f1904a73a0579ada1644d016e37e570888115c.tar.bz2 historical-57f1904a73a0579ada1644d016e37e570888115c.zip |
Change SRC_URI behavior slightly, to reduce load on chtekks server.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mysql.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index efc74659c2a5..9f2b408fc43a 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.30 2006/05/05 19:49:43 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.31 2006/05/15 00:48:11 robbat2 Exp $ # Author: Francesco Riosa <vivo@gentoo.org> # Maintainer: Luca Longinotti <chtekk@gentoo.org> @@ -52,7 +52,11 @@ MY_FIXED_PV="${MY_FIXED_PV/_rc/}" # Define correct SRC_URIs SRC_URI="mirror://mysql/Downloads/MySQL-${PV%.*}/${P/_/-}.tar.gz" -[[ -n "${MYSQL_PATCHSET_REV}" ]] && SRC_URI="${SRC_URI} http://gentoo.longitekk.com/${PN}-patchset-${MY_FIXED_PV}-r${MYSQL_PATCHSET_REV}.tar.bz2" +if [[ -n "${MYSQL_PATCHSET_REV}" ]]; then + MYSQL_PATCHSET_FILENAME="${PN}-patchset-${MY_FIXED_PV}-r${MYSQL_PATCHSET_REV}.tar.bz2" + # we add the Gentoo mirror here as we only use primaryuri for the mysql tarball. + SRC_URI="${SRC_URI} mirror://gentoo/${MYSQL_PATCHSET_FILENAME} http://gentoo.longitekk.com/${MYSQL_PATCHSET_FILENAME}" +fi DESCRIPTION="A fast, multi-threaded, multi-user SQL database server." HOMEPAGE="http://www.mysql.com/" |