summaryrefslogtreecommitdiff
path: root/lang/php4/files/patch-pear::scripts::pearcmd.php
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-05-22 18:26:28 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-05-22 18:26:28 +0000
commit18ea1afefe75baf9e9d5a81ea4e2820433993faa (patch)
tree1edc7b7cce0659feb4e86a0fdd1cd78d96db73ef /lang/php4/files/patch-pear::scripts::pearcmd.php
parentChase the distfile; update MASTER_SITES. (diff)
Add completely new port system for PHP4 (4.3.2RC4). Updated mod_php4
to 4.3.2RC4 release and added php4-cli and php4 ports, for apache module, command line interface, and both, respectively. Too many changes (improvements, bug fixes and new features) to be listed here, PR: ports/51945 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Diffstat (limited to 'lang/php4/files/patch-pear::scripts::pearcmd.php')
-rw-r--r--lang/php4/files/patch-pear::scripts::pearcmd.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/php4/files/patch-pear::scripts::pearcmd.php b/lang/php4/files/patch-pear::scripts::pearcmd.php
new file mode 100644
index 000000000000..642fc7e118a1
--- /dev/null
+++ b/lang/php4/files/patch-pear::scripts::pearcmd.php
@@ -0,0 +1,18 @@
+--- 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
+ <?php
+ //
+ // +----------------------------------------------------------------------+
+@@ -24,9 +25,7 @@
+ /**
+ * @nodep Gtk
+ */
+-if ('@include_path@' != '@'.'include_path'.'@') {
+- ini_set('include_path', '@include_path@');
+-}
++ini_set('include_path', '%%PREFIX%%/share/pear:%%PREFIX%%/share/pear/bootstrap');
+ ini_set('allow_url_fopen', true);
+ set_time_limit(0);
+ ob_implicit_flush(true);