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>
This commit is contained in:
parent
88ebf5d9f5
commit
6d57666c04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124731
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= PEAR
|
||||
PORTVERSION= 1.3.3.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= devel www pear
|
||||
|
||||
MAINTAINER= antonio@php.net
|
||||
|
@ -1,20 +1,17 @@
|
||||
--- scripts/pearcmd.php.orig Wed Oct 27 02:58:21 2004
|
||||
+++ scripts/pearcmd.php Tue Dec 14 14:56:46 2004
|
||||
+++ scripts/pearcmd.php Thu Dec 16 17:30:19 2004
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!@php_bin@ -q -dsafe_mode=0 -doutput_buffering=1
|
||||
+#!@php_bin@ -n -q -dsafe_mode=0 -doutput_buffering=1
|
||||
<?php
|
||||
//
|
||||
// +----------------------------------------------------------------------+
|
||||
@@ -24,8 +25,14 @@
|
||||
@@ -24,8 +25,11 @@
|
||||
/**
|
||||
* @nodep Gtk
|
||||
*/
|
||||
+if (!extension_loaded('pcre')) {
|
||||
+ dl('pcre.so');
|
||||
+}
|
||||
+if (!extension_loaded('xml')) {
|
||||
+ dl('xml.so');
|
||||
+}
|
||||
+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');
|
||||
|
@ -17,5 +17,5 @@ fi
|
||||
|
||||
[ "x$1" = "x" ] && exit 1
|
||||
if [ "x$2" = "xPOST-INSTALL" ]; then
|
||||
${PEAR_INSTALLER} install -r -f ${PKGREGDIR}/package.xml
|
||||
${PEAR_INSTALLER} install -r -n -f ${PKGREGDIR}/package.xml
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user