diff options
author | Sebastian Bergmann <sebastian@gentoo.org> | 2006-02-01 19:28:41 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@gentoo.org> | 2006-02-01 19:28:41 +0000 |
commit | 0d2294d7c764458f516b11fb0976961a1a45567a (patch) | |
tree | db3d22948802f50047e5e623d544aaa3ed15cda7 /eclass | |
parent | Stable on x86, bug #121192. (diff) | |
download | gentoo-2-0d2294d7c764458f516b11fb0976961a1a45567a.tar.gz gentoo-2-0d2294d7c764458f516b11fb0976961a1a45567a.tar.bz2 gentoo-2-0d2294d7c764458f516b11fb0976961a1a45567a.zip |
Do not connect to channel servers (PEAR 1.4).
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/php-pear-lib-r1.eclass | 4 | ||||
-rw-r--r-- | eclass/php-pear-r1.eclass | 4 |
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" \ |