cvs: php4 /pear/PEAR Installer.php /pear/PEAR/Command Install.php

From: Date: Thu, 06 Jun 2002 10:51:26 +0000
Subject: cvs: php4 /pear/PEAR Installer.php /pear/PEAR/Command Install.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-4444@lists.php.net to get a copy of this message
ssb Thu Jun 6 06:51:26 2002 EDT Modified files: /php4/pear/PEAR Installer.php /php4/pear/PEAR/Command Install.php Log: * add "nobuild" option to installer (-B or --nobuild option to CLI frontend) Index: php4/pear/PEAR/Installer.php diff -u php4/pear/PEAR/Installer.php:1.65 php4/pear/PEAR/Installer.php:1.66 --- php4/pear/PEAR/Installer.php:1.65 Sun Jun 2 09:07:18 2002 +++ php4/pear/PEAR/Installer.php Thu Jun 6 06:51:26 2002 @@ -17,7 +17,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: Installer.php,v 1.65 2002/06/02 13:07:18 ssb Exp $ +// $Id: Installer.php,v 1.66 2002/06/06 10:51:26 ssb Exp $ require_once 'PEAR/Common.php'; require_once 'PEAR/Registry.php'; @@ -467,7 +467,7 @@ } } - if ($this->source_files > 0) { + if ($this->source_files > 0 && empty($options['nobuild'])) { $this->log(1, "$this->source_files source files, building"); $bob = &new PEAR_Builder($this->ui); $bob->debug = $this->debug; Index: php4/pear/PEAR/Command/Install.php diff -u php4/pear/PEAR/Command/Install.php:1.32 php4/pear/PEAR/Command/Install.php:1.33 --- php4/pear/PEAR/Command/Install.php:1.32 Sun Jun 2 09:07:18 2002 +++ php4/pear/PEAR/Command/Install.php Thu Jun 6 06:51:26 2002 @@ -16,7 +16,7 @@ // | Author: Stig Sæther Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: Install.php,v 1.32 2002/06/02 13:07:18 ssb Exp $ +// $Id: Install.php,v 1.33 2002/06/06 10:51:26 ssb Exp $ require_once "PEAR/Command/Common.php"; require_once "PEAR/Installer.php"; @@ -53,6 +53,10 @@ 'shortopt' => 's', 'doc' => 'soft install, fail silently, or upgrade if already installed', ), + 'nobuild' => array( + 'shortopt' => 'B', + 'doc' => 'don\'t build C extensions', + ), 'nocompress' => array( 'shortopt' => 'Z', 'doc' => 'request uncompressed files when downloading', @@ -94,6 +98,10 @@ 'register-only' => array( 'shortopt' => 'r', 'doc' => 'do not install files, only register the package as upgraded', + ), + 'nobuild' => array( + 'shortopt' => 'B', + 'doc' => 'don\'t build C extensions', ), 'nocompress' => array( 'shortopt' => 'Z',

« previous php.pear.cvs (#4444) next »