summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2011-08-19 09:14:06 +0000
committerOle Markus With <olemarkus@gentoo.org>2011-08-19 09:14:06 +0000
commit26625651789b01a89ad2376eb38ba590ae8de502 (patch)
tree56c11de765af5503574b08630b0f2e1b4d78174b /eclass/php-ext-pecl-r2.eclass
parentVersion bump. (diff)
downloadhistorical-26625651789b01a89ad2376eb38ba590ae8de502.tar.gz
historical-26625651789b01a89ad2376eb38ba590ae8de502.tar.bz2
historical-26625651789b01a89ad2376eb38ba590ae8de502.zip
Added support for MY_PV for pecl ebuilds
Diffstat (limited to 'eclass/php-ext-pecl-r2.eclass')
-rw-r--r--eclass/php-ext-pecl-r2.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/php-ext-pecl-r2.eclass b/eclass/php-ext-pecl-r2.eclass
index d899fb64f406..14aae037ac63 100644
--- a/eclass/php-ext-pecl-r2.eclass
+++ b/eclass/php-ext-pecl-r2.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-ext-pecl-r2.eclass,v 1.4 2011/01/28 13:33:53 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-pecl-r2.eclass,v 1.5 2011/08/19 09:14:06 olemarkus Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Author: Luca Longinotti <chtekk@gentoo.org>
@@ -37,8 +37,11 @@
[[ -z "${PHP_EXT_PECL_PKG}" ]] && PHP_EXT_PECL_PKG="${PN/pecl-/}"
+
+[[ -z ${MY_PV} ]] && MY_PV=${PV}
+
PECL_PKG="${PHP_EXT_PECL_PKG}"
-MY_PV="${PV/_/}"
+MY_PV="${MY_PV/_/}"
PECL_PKG_V="${PECL_PKG}-${MY_PV}"
[[ -z "${PHP_EXT_NAME}" ]] && PHP_EXT_NAME="${PECL_PKG}"