From antonio@digitalsign.com  Thu Dec 16 19:36:59 2004
Return-Path: <antonio@digitalsign.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 92CCB16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Dec 2004 19:36:59 +0000 (GMT)
Received: from digitalsign.com (cm-virtua-fln-C8B08F9E.brdterra.com.br [200.176.143.158])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF3843D31
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Dec 2004 19:36:58 +0000 (GMT)
	(envelope-from antonio@digitalsign.com)
Received: from digitalsign.com (localhost [127.0.0.1])
	by digitalsign.com (8.12.6/8.12.6) with ESMTP id iBGJatZO096008
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Dec 2004 17:36:56 -0200 (BRST)
	(envelope-from antonio@digitalsign.com)
Received: (from antonio@localhost)
	by digitalsign.com (8.12.6/8.12.6/Submit) id iBGJasP0096007;
	Thu, 16 Dec 2004 17:36:54 -0200 (BRST)
Message-Id: <200412161936.iBGJasP0096007@digitalsign.com>
Date: Thu, 16 Dec 2004 17:36:54 -0200 (BRST)
From: Antonio Carlos Venancio Junior <antonio@php.net>
Reply-To: Antonio Carlos Venancio Junior <antonio@php.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update port: devel/pear-PEAR
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         75166
>Category:       ports
>Synopsis:       Update port: devel/pear-PEAR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 16 19:40:23 GMT 2004
>Closed-Date:    Tue Dec 21 22:14:15 GMT 2004
>Last-Modified:  Tue Dec 21 22:14:15 GMT 2004
>Originator:     Antnio Carlos Venncio Jnior
>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@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@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:

From: Thierry Thomas <thierry@FreeBSD.org>
To: Antonio Carlos Venancio Junior <antonio@php.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/75166: Update port: devel/pear-PEAR
Date: Thu, 16 Dec 2004 21:26:03 +0100

 Le Jeu 16 dc 04  20:36:54 +0100, Antonio Carlos Venancio Junior <antonio@php.net>
  crivait:
 > 
 > >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:     Antnio Carlos Venncio Jnior
 > >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@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.
 
 Thanks, but don't forget to chase this update in misc/pear-Text_Figlet.
 
 Regards,
 -- 
 Th. Thomas.

From: =?ISO-8859-1?Q?Ant=F4nio_Carlos_Ven=E2ncio_J=FAnior?= <antonio@php.net>
To: Thierry Thomas <thierry@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/75166: Update port: devel/pear-PEAR
Date: Fri, 17 Dec 2004 08:41:08 -0200

 Thierry,
 
 Thierry Thomas wrote:
 >>+ make PHP extension runtime dependencies enforced by the USE_PHP=ext knob, not by the pear install.
 > 
 > 
 > Thanks, but don't forget to chase this update in misc/pear-Text_Figlet.
 > 
 > Regards,
 
 	done.
 
 -- 
 Ate'
 
 Antonio
 echo antonio php net | sed 's/ /@/;s/ /./g'
 FreeBSD/OpenBSD | PHP/MySQL | PGP Key ID 0x5BBEB073
 "Can't buy what I want because its FREE!" - Pearl Jam
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Tue Dec 21 22:14:13 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75166 
>Unformatted:
