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
commit5e750b2948a03b15cb967d715bef7b8a298dd762 (patch)
treeb41e4519636f6874fc8c57e37e250dd57c52b57b /eclass
parentixed pyc/pyo cleanup issue. removed pygtk installs from gnome-python-1.4 and ... (diff)
downloadgentoo-2-5e750b2948a03b15cb967d715bef7b8a298dd762.tar.gz
gentoo-2-5e750b2948a03b15cb967d715bef7b8a298dd762.tar.bz2
gentoo-2-5e750b2948a03b15cb967d715bef7b8a298dd762.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