ports/75166: Update port: devel/pear-PEAR

Antonio Carlos Venancio Junior antonio at php.net
Thu Dec 16 19:40:23 UTC 2004


>Number:         75166
>Category:       ports
>Synopsis:       Update port: devel/pear-PEAR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 16 19:40:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.10-STABLE FreeBSD 4.10-STABLE #6: Wed Nov 24 10:18:56 BRST 2004     root at antonio.cb.sc.gov.br:/usr/src/sys/compile/ANTONIO  i386
>Description:
+ make PHP extension runtime dependencies enforced by the USE_PHP=ext knob, not by the pear install.
>How-To-Repeat:
>Fix:
diff -ruN pear-PEAR.orig/Makefile pear-PEAR/Makefile
--- pear-PEAR.orig/Makefile	Thu Dec 16 17:23:23 2004
+++ pear-PEAR/Makefile	Thu Dec 16 17:24:46 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	PEAR
 PORTVERSION=	1.3.3.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel www pear
 
 MAINTAINER=	antonio at php.net
diff -ruN pear-PEAR.orig/files/patch-scripts::pearcmd.php pear-PEAR/files/patch-scripts::pearcmd.php
--- pear-PEAR.orig/files/patch-scripts::pearcmd.php	Thu Dec 16 17:23:23 2004
+++ pear-PEAR/files/patch-scripts::pearcmd.php	Thu Dec 16 17:30:55 2004
@@ -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 -ruN pear-PEAR.orig/pkg-install pear-PEAR/pkg-install
--- pear-PEAR.orig/pkg-install	Thu Dec 16 17:23:23 2004
+++ pear-PEAR/pkg-install	Thu Dec 16 17:23:40 2004
@@ -17,5 +17,5 @@
 
 [ "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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list