Date: Thu, 20 Sep 2007 01:04:50 +0800 (CST) From: chinsan <chinsan@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ale@FreeBSD.org Subject: ports/116473: [PATCH] lang/php4: Add inline optimization KNOB Message-ID: <20070919170450.35AAF50843@blog.homiya.com> Resent-Message-ID: <200709191710.l8JHA1jh049099@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116473 >Category: ports >Synopsis: [PATCH] lang/php4: Add inline optimization KNOB >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 Sep 19 17:10:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: chinsan >Release: FreeBSD 6.2-STABLE i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD blog.homiya.com 6.2-STABLE FreeBSD 6.2-STABLE #1: Wed Jul 25 09:11:00 CST 2007 >Description: - This knob enable inline optimization. It produces the fastest PHP executable possible (without additional opcode optimizations by software like Zend Engine). Port maintainer (ale@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- php4-4.4.7_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/lang/php4/Makefile /home/chinsan/projects/php4/Makefile --- /usr/ports/lang/php4/Makefile 2007-07-28 15:42:04.000000000 +0800 +++ /home/chinsan/projects/php4/Makefile 2007-09-20 00:55:40.000000000 +0800 @@ -40,6 +40,7 @@ SUHOSIN "Enable Suhosin protection system (not for jails)" on \ MULTIBYTE "Enable zend multibyte support" off \ IPV6 "Enable ipv6 support" on \ + INLINE "Enable inline optimization" on \ MAILHEAD "Enable mail header patch" off \ REDIRECT "Enable force-cgi-redirect support (CGI only)" off \ DISCARD "Enable discard-path support (CGI only)" off \ @@ -154,6 +155,10 @@ CONFIGURE_ARGS+=--disable-ipv6 .endif +.if defined(WITH_INLINE) +CONFIGURE_ARGS+=--enable-inline-optimization +.endif + post-patch: @${TOUCH} ${WRKSRC}/ext/php_config.h @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* --- php4-4.4.7_1.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?20070919170450.35AAF50843>