ports/108916: [PATCH] lang/php5: JSON extension was added with PHP 5.2.0 and enabled by default

chinsan chinsan at FreeBSD.org
Thu Feb 8 02:50:24 UTC 2007


>Number:         108916
>Category:       ports
>Synopsis:       [PATCH] lang/php5: JSON extension was added with PHP 5.2.0 and enabled by default
>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:   Thu Feb 08 02:50:22 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 6.2-STABLE FreeBSD 6.2-STABLE #6: Mon Feb  5 23:22:25 CST
>Description:
- JSON extension was added with PHP 5.2.0 and enabled by default

Port maintainer (ale at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- php5-5.2.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/php5/Makefile.ext /usr/home/chinsan/project/lang/php5/Makefile.ext
--- /usr/ports/lang/php5/Makefile.ext	Fri Dec 15 16:53:08 2006
+++ /usr/home/chinsan/project/lang/php5/Makefile.ext	Thu Feb  8 10:39:31 2007
@@ -142,6 +142,10 @@
 USE_GCC=	3.4+
 .endif
 
+.if ${PHP_MODNAME} == "json"
+CONFIGURE_ARGS+=--enable-json
+.endif
+
 .if ${PHP_MODNAME} == "ldap"
 CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
 
--- php5-5.2.0.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list