<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3ecc94867eb7f7f966b300feb4828a8f0a2fd5a1">https://github.com/macports/macports-ports/commit/3ecc94867eb7f7f966b300feb4828a8f0a2fd5a1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3ecc94867eb7f7f966b300feb4828a8f0a2fd5a1
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Tue Apr 16 09:45:56 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> php8*: Remove unrecognized --enable-json flag
</span>---
lang/php/Portfile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
<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 c9157277a06..4216c1769f9 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;'>@@ -323,7 +323,6 @@ if {[is_sapi_subport]} {
</span> --enable-ctype \
--enable-dom \
--enable-filter \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-json \
</span> --enable-pdo \
--enable-session \
--enable-simplexml \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -337,6 +336,12 @@ if {[is_sapi_subport]} {
</span> --disable-cgi \
--disable-cli
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${branch} < 8.0]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # JSON support is always on as of PHP 8.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/php/php-src/pull/5495
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-json
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {[vercmp ${branch} < 7.4]} {
configure.args-append --enable-hash \
--enable-libxml \
</pre><pre style='margin:0'>
</pre>