summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2005-09-11 16:39:10 +0000
committerBenedikt Boehm <hollow@gentoo.org>2005-09-11 16:39:10 +0000
commitf92316eba81fc33a259b291d77a8b25c80d8f9b0 (patch)
treed6bdd8f76e37240c67fe918a12fefebdeaa4d7a4 /eclass/php-lib-r1.eclass
parentAdded thanks to Jan Kundrát to ChangeLog (diff)
downloadhistorical-f92316eba81fc33a259b291d77a8b25c80d8f9b0.tar.gz
historical-f92316eba81fc33a259b291d77a8b25c80d8f9b0.tar.bz2
historical-f92316eba81fc33a259b291d77a8b25c80d8f9b0.zip
fix pear bug + minor fixes
Diffstat (limited to 'eclass/php-lib-r1.eclass')
-rw-r--r--eclass/php-lib-r1.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/php-lib-r1.eclass b/eclass/php-lib-r1.eclass
index 905a4eab120a..faef92ecff28 100644
--- a/eclass/php-lib-r1.eclass
+++ b/eclass/php-lib-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-lib-r1.eclass,v 1.1 2005/09/04 10:54:53 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-lib-r1.eclass,v 1.2 2005/09/11 16:39:10 hollow Exp $
#
# Author: Stuart Herbert <stuart@gentoo.org>
#
@@ -23,18 +23,19 @@ EXPORT_FUNCTIONS src_install
# ---end ebuild configurable settings
DEPEND="${DEPEND} dev-lang/php"
+RDEPEND="${RDEPEND} ${DEPEND}"
# you have to pass in a list of the PHP files to install
#
# $1 - directory in ${S} to insert from
# $2 ... list of files to install
-php-lib_src_install() {
+php-lib-r1_src_install() {
has_php
# install to the correct phpX folder, if not specified
# fall back to /usr/share/php
- if [ -z "${PHP_SHARED_CAT}" ] ; then
+ if [ -n "${PHP_SHARED_CAT}" ] ; then
PHP_LIB_DIR="/usr/share/${PHP_SHARED_CAT}/${PHP_LIB_NAME}"
else
PHP_LIB_DIR="/usr/share/php/${PHP_LIB_NAME}"