summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTal Peer <coredumb@gentoo.org>2004-01-24 17:02:56 +0000
committerTal Peer <coredumb@gentoo.org>2004-01-24 17:02:56 +0000
commit9b7f3bc6fcaf96b72704bb20dce6608789c9c886 (patch)
tree0aaf5e1479fee23576a7ec15b822a75d40cef811 /eclass
parentixed pyc/pyo cleanup issue. removed pygtk installs from gnome-python-1.4 and ... (diff)
downloadhistorical-9b7f3bc6fcaf96b72704bb20dce6608789c9c886.tar.gz
historical-9b7f3bc6fcaf96b72704bb20dce6608789c9c886.tar.bz2
historical-9b7f3bc6fcaf96b72704bb20dce6608789c9c886.zip
Fixed a path problem
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php-ext-pecl.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/php-ext-pecl.eclass b/eclass/php-ext-pecl.eclass
index 5a210381feb2..edbfe917e59e 100644
--- a/eclass/php-ext-pecl.eclass
+++ b/eclass/php-ext-pecl.eclass
@@ -1,13 +1,14 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-pecl.eclass,v 1.1 2003/10/13 19:59:20 coredumb Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-pecl.eclass,v 1.2 2004/01/24 17:02:56 coredumb Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
#
# This eclass should be used by all dev-php/PECL-* ebuilds, as a uniform way of installing PECL extensions.
# For more information about PECL, see: http://pecl.php.net
-PECL_PKG=${PN/PECL-/}
+[ -z "$PHP_EXT_PECL_PKG" ] && PHP_EXT_PECL_PKG=${PN/PECL-/}
+PECL_PKG=$PHP_EXT_PECL_PKG
PECL_PKG_V=$PECL_PKG-$PV
[ -z "$PHP_EXT_NAME" ] && PHP_EXT_NAME=$PECL_PKG