diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-11-08 16:07:22 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-11-08 16:07:22 +0000 |
commit | 28997225943e8c3e3d8d6fbd120d5506463d4c3d (patch) | |
tree | 55f107b7a36479d4bc579631fededbce7f4523a4 /eclass/php-pear-r1.eclass | |
parent | Stable for HPPA (bug #198390). (diff) | |
download | gentoo-2-28997225943e8c3e3d8d6fbd120d5506463d4c3d.tar.gz gentoo-2-28997225943e8c3e3d8d6fbd120d5506463d4c3d.tar.bz2 gentoo-2-28997225943e8c3e3d8d6fbd120d5506463d4c3d.zip |
Make the eclass handle alpha versions as well
Diffstat (limited to 'eclass/php-pear-r1.eclass')
-rw-r--r-- | eclass/php-pear-r1.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/php-pear-r1.eclass b/eclass/php-pear-r1.eclass index 3ad6743cdcb7..e88573c89385 100644 --- a/eclass/php-pear-r1.eclass +++ b/eclass/php-pear-r1.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/php-pear-r1.eclass,v 1.18 2007/10/22 22:55:04 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.19 2007/11/08 16:07:22 jokey Exp $ # # Author: Tal Peer <coredumb@gentoo.org> # Author: Luca Longinotti <chtekk@gentoo.org> @@ -31,12 +31,13 @@ fix_PEAR_PV() { tmp="${tmp/_/}" tmp="${tmp/rc/RC}" tmp="${tmp/beta/b}" + tmp="${tmp/alpha/a}" PEAR_PV="${tmp}" } # @ECLASS-VARIABLE: PEAR_PV # @DESCRIPTION: -# Set in ebuild if the eclass ${PV} mangling breaks SRC_URI for beta/rc versions +# Set in ebuild if the eclass ${PV} mangling breaks SRC_URI for alpha/beta/rc versions [[ -z "${PEAR_PV}" ]] && fix_PEAR_PV PEAR_PN="${PHP_PEAR_PKG_NAME}-${PEAR_PV}" |