summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/php-pear-lib-r1.eclass4
-rw-r--r--eclass/php-pear-r1.eclass4
2 files changed, 4 insertions, 4 deletions
diff --git a/eclass/php-pear-lib-r1.eclass b/eclass/php-pear-lib-r1.eclass
index 6a71724877e4..5d07495b8deb 100644
--- a/eclass/php-pear-lib-r1.eclass
+++ b/eclass/php-pear-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-pear-lib-r1.eclass,v 1.6 2006/01/23 22:53:31 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-lib-r1.eclass,v 1.7 2006/02/01 19:28:41 sebastian Exp $
#
# Author: Luca Longinotti <chtekk@gentoo.org>
# Maintained by the PHP Herd <php-bugs@gentoo.org>
@@ -44,7 +44,7 @@ php-pear-lib-r1_src_install() {
if has_version '=dev-php/PEAR-PEAR-1.3*' ; then
pear -d php_bin="${PHP_BIN}" install --nodeps --installroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package"
else
- pear -d php_bin="${PHP_BIN}" install --nodeps --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package"
+ pear -d php_bin="${PHP_BIN}" install --offline --nodeps --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package"
fi
rm -rf "${D}/usr/share/php/.channels" \
"${D}/usr/share/php/.depdblock" \
diff --git a/eclass/php-pear-r1.eclass b/eclass/php-pear-r1.eclass
index dbdf0359793f..c9883acd29d5 100644
--- a/eclass/php-pear-r1.eclass
+++ b/eclass/php-pear-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-pear-r1.eclass,v 1.10 2006/01/23 14:36:18 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-pear-r1.eclass,v 1.11 2006/02/01 19:28:41 sebastian Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Maintained by the PHP Herd <php-bugs@gentoo.org>
@@ -61,7 +61,7 @@ php-pear-r1_src_install() {
if has_version '=dev-php/PEAR-PEAR-1.3*' ; then
pear -d php_bin="${PHP_BIN}" install --nodeps --installroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package"
else
- pear -d php_bin="${PHP_BIN}" install --nodeps --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package"
+ pear -d php_bin="${PHP_BIN}" install --offline --nodeps --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package"
fi
rm -rf "${D}/usr/share/php/.channels" \
"${D}/usr/share/php/.depdblock" \