summaryrefslogtreecommitdiff
path: root/devel/pear-PEAR/files/patch-scripts::pearcmd.php
blob: 1d0c6d7f62a919cc5a4a41d8e6ff2126ede07458 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- scripts/pearcmd.php.orig	Sun Nov  6 21:17:11 2005
+++ scripts/pearcmd.php	Sun Nov  6 21:19:20 2005
@@ -1,3 +1,4 @@
+#!@php_bin@ -nq
 <?php
 //
 // +----------------------------------------------------------------------+
@@ -29,8 +30,10 @@
 /**
  * @nodep Gtk
  */
+dl('pcre.so');
+dl('xml.so');
 if ('@include_path@' != '@'.'include_path'.'@') {
-    ini_set('include_path', '@include_path@');
+    ini_set('include_path', '@include_path@:@include_path@/bootstrap');
     $raw = false;
 } else {
     // this is a raw, uninstalled pear, either a cvs checkout, or php distro