Date: Thu, 20 Sep 2007 00:51:19 +0800 (CST) From: chinsan <chinsan@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ale@FreeBSD.org Subject: ports/116472: [PATCH] lang/php5: Add inline optimization KNOB Message-ID: <20070919165119.195B150843@blog.homiya.com> Resent-Message-ID: <200709191700.l8JH07rZ048783@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116472 >Category: ports >Synopsis: [PATCH] lang/php5: 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:00:07 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: --- php5-5.2.4.patch begins here --- diff -ruN --exclude=CVS /usr/ports/lang/php5/Makefile /home/chinsan/projects/php5/Makefile --- /usr/ports/lang/php5/Makefile 2007-09-15 23:45:54.000000000 +0800 +++ /home/chinsan/projects/php5/Makefile 2007-09-20 00:49:05.000000000 +0800 @@ -41,6 +41,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 \ @@ -148,6 +149,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-* --- php5-5.2.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?20070919165119.195B150843>