ports/82333: [maintainer update] devel/pear-PEAR fix pear2 command on FreeBSD-current

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


>Number:         82333
>Category:       ports
>Synopsis:       [maintainer update] devel/pear-PEAR fix pear2 command on FreeBSD-current
>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 Jun 16 19:40:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Carlos Venancio Junior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #8: Fri Jun  3 18:40:02 BRT 2005     root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
+ fix pear2 command on FreeBSD-current
+ fix pkg-install
>How-To-Repeat:
>Fix:
diff -ruN pear-PEAR.orig/Makefile pear-PEAR/Makefile
--- pear-PEAR.orig/Makefile	Thu Jun 16 15:41:55 2005
+++ pear-PEAR/Makefile	Thu Jun 16 15:44:13 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	PEAR
 PORTVERSION=	1.3.5
+PORTREVISION=	1
 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 Jun 16 15:41:55 2005
+++ pear-PEAR/files/patch-scripts::pearcmd.php	Thu Jun 16 15:42:26 2005
@@ -1,7 +1,7 @@
 --- scripts/pearcmd.php.orig	Wed Oct 27 02:58:21 2004
 +++ scripts/pearcmd.php	Thu Dec 16 17:30:19 2004
 @@ -1,3 +1,4 @@
-+#!@php_bin@ -n -q -dsafe_mode=0 -doutput_buffering=1
++#!@php_bin@ -nq
  <?php
  //
  // +----------------------------------------------------------------------+
diff -ruN pear-PEAR.orig/pkg-install pear-PEAR/pkg-install
--- pear-PEAR.orig/pkg-install	Thu Jun 16 15:41:55 2005
+++ pear-PEAR/pkg-install	Thu Jun 16 16:02:37 2005
@@ -4,7 +4,7 @@
 #
 # Register the package $1 in the port registry
 
-PREFIX=${PKG_PREFIX:-/usr/local}
+PREFIX=${PKG_PREFIX:=%%PREFIX%%}
 PEAR=${PREFIX}/bin/pear
 PEAR2=${PREFIX}/bin/pear2
 PKGREGDIR=${PREFIX}/share/pear/packages/$1
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list