aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-PEAR
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-12-14 18:42:20 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-12-14 18:42:20 +0000
commitad86ce1ec098bcec35f67877e0f1a2e8f5f595be (patch)
treeef7667784f8ef552e5c2186c1072c7b2dc74f610 /devel/pear-PEAR
parent560c745a50d279044538251f6f9f51f4fc54c8e0 (diff)
Notes
Diffstat (limited to 'devel/pear-PEAR')
-rw-r--r--devel/pear-PEAR/Makefile2
-rw-r--r--devel/pear-PEAR/files/patch-scripts::pearcmd.php14
2 files changed, 10 insertions, 6 deletions
diff --git a/devel/pear-PEAR/Makefile b/devel/pear-PEAR/Makefile
index 5ece66251133..a807472fdaf4 100644
--- a/devel/pear-PEAR/Makefile
+++ b/devel/pear-PEAR/Makefile
@@ -7,7 +7,7 @@
PORTNAME= PEAR
PORTVERSION= 1.3.3.1
-PORTREVISION= 1
+PORTREVISION= 2
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 4f726d7939ad..6f75c0b46a07 100644
--- a/devel/pear-PEAR/files/patch-scripts::pearcmd.php
+++ b/devel/pear-PEAR/files/patch-scripts::pearcmd.php
@@ -1,16 +1,20 @@
---- scripts/pearcmd.php.orig Thu Oct 28 14:37:56 2004
-+++ scripts/pearcmd.php Thu Nov 11 11:21:39 2004
+--- scripts/pearcmd.php.orig Wed Oct 27 02:58:21 2004
++++ scripts/pearcmd.php Tue Dec 14 14:56:46 2004
@@ -1,3 +1,4 @@
+#!@php_bin@ -q -dsafe_mode=0 -doutput_buffering=1
<?php
//
// +----------------------------------------------------------------------+
-@@ -24,8 +25,10 @@
+@@ -24,8 +25,14 @@
/**
* @nodep Gtk
*/
-+dl('pcre.so');
-+dl('xml.so');
++if (!extension_loaded('pcre')) {
++ dl('pcre.so');
++}
++if (!extension_loaded('xml')) {
++ dl('xml.so');
++}
if ('@include_path@' != '@'.'include_path'.'@') {
- ini_set('include_path', '@include_path@');
+ ini_set('include_path', '@include_path@:@include_path@/bootstrap');