From 26625651789b01a89ad2376eb38ba590ae8de502 Mon Sep 17 00:00:00 2001 From: Ole Markus With Date: Fri, 19 Aug 2011 09:14:06 +0000 Subject: Added support for MY_PV for pecl ebuilds --- eclass/php-ext-pecl-r2.eclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'eclass/php-ext-pecl-r2.eclass') 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 # Author: Luca Longinotti @@ -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}" -- cgit v1.2.3-65-gdbad