summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-12-21 22:14:02 +0000
committeredwin <edwin@FreeBSD.org>2004-12-21 22:14:02 +0000
commit06594724a6cbad894cadc57393e60a810272a2c3 (patch)
tree5845ebd1e5dc496f2a2cf2e96c4be54187f237ff
parent58021bcaaf00db7522cb7e8d7b1278212855d405 (diff)
downloadFreeBSD-ports-06594724a6cbad894cadc57393e60a810272a2c3.zip
FreeBSD-ports-06594724a6cbad894cadc57393e60a810272a2c3.tar.gz
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>
-rw-r--r--devel/pear-PEAR/Makefile2
-rw-r--r--devel/pear-PEAR/files/patch-scripts::pearcmd.php15
-rw-r--r--devel/pear-PEAR/pkg-install2
3 files changed, 8 insertions, 11 deletions
diff --git a/devel/pear-PEAR/Makefile b/devel/pear-PEAR/Makefile
index a807472..655bd0a 100644
--- a/devel/pear-PEAR/Makefile
+++ b/devel/pear-PEAR/Makefile
@@ -7,7 +7,7 @@
PORTNAME= PEAR
PORTVERSION= 1.3.3.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel www pear
MAINTAINER= antonio@php.net
diff --git a/devel/pear-PEAR/files/patch-scripts::pearcmd.php b/devel/pear-PEAR/files/patch-scripts::pearcmd.php
index 6f75c0b..86423dc 100644
--- a/devel/pear-PEAR/files/patch-scripts::pearcmd.php
+++ b/devel/pear-PEAR/files/patch-scripts::pearcmd.php
@@ -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');
diff --git a/devel/pear-PEAR/pkg-install b/devel/pear-PEAR/pkg-install
index 811a611..0a1badd 100644
--- a/devel/pear-PEAR/pkg-install
+++ b/devel/pear-PEAR/pkg-install
@@ -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
OpenPOWER on IntegriCloud