freebsd-ports/devel/pear-PEAR/files/patch-scripts::pearcmd.php
Edwin Groothuis 6d57666c04 Update port: devel/pear-PEAR
make PHP extension runtime dependencies enforced by the
	USE_PHP=ext knob, not by the pear install.

PR:		ports/75166
Submitted by:	Antônio Carlos Venâncio Júnior <antonio@php.net>
2004-12-21 22:14:02 +00:00

20 lines
578 B
PHP

--- scripts/pearcmd.php.orig Wed Oct 27 02:58:21 2004
+++ scripts/pearcmd.php Thu Dec 16 17:30:19 2004
@@ -1,3 +1,4 @@
+#!@php_bin@ -n -q -dsafe_mode=0 -doutput_buffering=1
<?php
//
// +----------------------------------------------------------------------+
@@ -24,8 +25,11 @@
/**
* @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');
}
ini_set('allow_url_fopen', true);
if (!ini_get('safe_mode')) {