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>
20 lines
578 B
PHP
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')) {
|