Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  4 Aug 2005 01:18:59 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/84527: [PATCH] devel/pear-PHP_Beautifier: mark BROKEN for PHP4
Message-ID:  <20050803171859.A6AF8B29C71@utopia.leeym.com>
Resent-Message-ID: <200508031720.j73HK5sR039788@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         84527
>Category:       ports
>Synopsis:       [PATCH] devel/pear-PHP_Beautifier: mark BROKEN for PHP4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 03 17:20:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Jul 17 07:50:25 CST 2005
>Description:
- mark BROKEN for PHP4
  (pear-PHP_Beautifier uses "try {...} catch {...}", which is only supported in PHP5)

Port maintainer (antonio@php.net) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:

(after installed pear-PHP_Beautifier)

# php_beautifier
Parse error: parse error, unexpected '{' in /usr/local/bin/php_beautifier on line 179

>Fix:

--- pear-PHP_Beautifier-0.1.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/pear-PHP_Beautifier/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	5 Apr 2005 19:17:19 -0000	1.5
+++ Makefile	3 Aug 2005 16:49:51 -0000
@@ -17,6 +17,7 @@
 
 USE_PHP=	tokenizer
 USE_REINPLACE=	yes
+BROKEN_WITH_PHP=4
 DEFAULT_PHP_VER=5
 
 CATEGORY=	PHP
--- pear-PHP_Beautifier-0.1.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050803171859.A6AF8B29C71>