<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/36fe4d94427d7b388f48875430ddcde11dcb7e94">https://github.com/macports/macports-ports/commit/36fe4d94427d7b388f48875430ddcde11dcb7e94</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 36fe4d94427d7b388f48875430ddcde11dcb7e94
</span>Author: Eric F <eric@iefdev.se>
AuthorDate: Tue Sep 8 00:22:56 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> php: enable file based opcache
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - This enables the settings for file based opcache in ini
</span><span style='display:block; white-space:pre;color:#404040;'> - Closes: https://trac.macports.org/ticket/60105
</span>---
lang/php/Portfile | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/Portfile b/lang/php/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 313d4a620e1..3d273ef1460 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/php/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -351,7 +351,7 @@ if {[is_sapi_subport]} {
</span> subport ${php} {
PortGroup muniversal 1.0
PortGroup select 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> switch -- ${version} {
5.2.17 {revision 15}
5.3.29 {revision 6}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1448,11 +1448,11 @@ if {[vercmp ${branch} 5.5] >= 0} {
</span> switch -- ${version} {
5.5.38 {revision 1}
5.6.40 {revision 1}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 7.0.33 {revision 0}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 7.1.33 {revision 0}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 7.2.29 {revision 0}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 7.3.16 {revision 0}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 7.4.4 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7.0.33 {revision 1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7.1.33 {revision 1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7.2.29 {revision 1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7.3.16 {revision 1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 7.4.4 {revision 1}
</span> }
php.extensions.zend opcache
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1463,8 +1463,13 @@ if {[vercmp ${branch} 5.5] >= 0} {
</span>
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-opcache
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-opcache
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # file based opcode cache was added in 7.0 (3abde432)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${branch} 7.0] >= 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-opcache-file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
set docdir ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${docdir}
</pre><pre style='margin:0'>
</pre>