Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  8 Feb 2007 10:49:42 +0800 (CST)
From:      chinsan <chinsan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ale@FreeBSD.org
Subject:   ports/108916: [PATCH] lang/php5: JSON extension was added with PHP 5.2.0 and enabled by default
Message-ID:  <20070208024942.A280C11464@chinsan.twbbs.org>
Resent-Message-ID: <200702080250.l182oM0a030783@freefall.freebsd.org>

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

>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@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:



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