summaryrefslogtreecommitdiff
path: root/lang/php4/files/patch-pear::scripts::pearcmd.php
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-07-19 07:05:36 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-07-19 07:05:36 +0000
commitaf7ee2a6ac8dc18d5a1df76a8d9e06e4a1657ed8 (patch)
tree703874bfb73131ea1697f8a1467749052a28c479 /lang/php4/files/patch-pear::scripts::pearcmd.php
parentUpdate to pre 15 (diff)
First step of the PHP mega-commit:
- remove extensions and PEAR from the PHP base ports - add more OPTIONS to PHP base ports
Notes
Notes: svn path=/head/; revision=113948
Diffstat (limited to 'lang/php4/files/patch-pear::scripts::pearcmd.php')
-rw-r--r--lang/php4/files/patch-pear::scripts::pearcmd.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/php4/files/patch-pear::scripts::pearcmd.php b/lang/php4/files/patch-pear::scripts::pearcmd.php
index 642fc7e118a1..ec3bf13f8645 100644
--- a/lang/php4/files/patch-pear::scripts::pearcmd.php
+++ b/lang/php4/files/patch-pear::scripts::pearcmd.php
@@ -1,17 +1,19 @@
--- pear/scripts/pearcmd.php.orig Fri May 16 17:31:37 2003
+++ pear/scripts/pearcmd.php Fri May 16 17:36:10 2003
@@ -1,3 +1,4 @@
-+#!%%PREFIX%%/bin/php -n -dsafe_mode=0 -doutput_buffering=1
++#!%%PREFIX%%/bin/php -n -q -dsafe_mode=0 -doutput_buffering=1
<?php
//
// +----------------------------------------------------------------------+
-@@ -24,9 +25,7 @@
+@@ -24,9 +25,9 @@
/**
* @nodep Gtk
*/
-if ('@include_path@' != '@'.'include_path'.'@') {
- ini_set('include_path', '@include_path@');
-}
++dl('pcre.so');
++dl('xml.so');
+ini_set('include_path', '%%PREFIX%%/share/pear:%%PREFIX%%/share/pear/bootstrap');
ini_set('allow_url_fopen', true);
set_time_limit(0);