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
commita43dc458378c23797babb65797245e20dd5335a0 (patch)
treebb837f6b9ecb94fe04c2e293f8ec96267281dfe7 /eclass/php-ext-pecl-r2.eclass
parentVersion bump. (diff)
downloadgentoo-2-a43dc458378c23797babb65797245e20dd5335a0.tar.gz
gentoo-2-a43dc458378c23797babb65797245e20dd5335a0.tar.bz2
gentoo-2-a43dc458378c23797babb65797245e20dd5335a0.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}"