summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTal Peer <coredumb@gentoo.org>2003-12-23 11:16:32 +0000
committerTal Peer <coredumb@gentoo.org>2003-12-23 11:16:32 +0000
commit5208c5666278e2c9361974bca188e382d70bd061 (patch)
tree035017313e450affb02fd45667b278b71c64bdc1 /eclass/php-pear.eclass
parentInitial commit (diff)
downloadhistorical-5208c5666278e2c9361974bca188e382d70bd061.tar.gz
historical-5208c5666278e2c9361974bca188e382d70bd061.tar.bz2
historical-5208c5666278e2c9361974bca188e382d70bd061.zip
Sanitize PV
Diffstat (limited to 'eclass/php-pear.eclass')
-rw-r--r--eclass/php-pear.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/php-pear.eclass b/eclass/php-pear.eclass
index 5b337562054b..dc38b0fd0abf 100644
--- a/eclass/php-pear.eclass
+++ b/eclass/php-pear.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear.eclass,v 1.1 2003/12/23 11:00:01 coredumb Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear.eclass,v 1.2 2003/12/23 11:16:32 coredumb Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
#
@@ -17,7 +17,7 @@ EXPORT_FUNCTIONS src_install
# Set this is the the package name on PEAR is different than the one in
# portage (generally shouldn't be the case).
[ -z "$PHP_PEAR_PKG_NAME" ] && PHP_PEAR_PKG_NAME=${PN/PEAR-/}
-PEAR_PN=${PHP_PEAR_PKG_NAME}-${PV}
+PEAR_PN=${PHP_PEAR_PKG_NAME}-${PV/_/}
[ -z "$SRC_URI" ] && SRC_URI="http://pear.php.net/get/${PEAR_PN}.tgz"
[ -z "$HOMEPAGE" ] && HOMEPAGE="http://pear.php.net/${PHP_PEAR_PKG_NAME}"