<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/85f1117971eb466dbe68caf17b662be6a5296252">https://github.com/macports/macports-ports/commit/85f1117971eb466dbe68caf17b662be6a5296252</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 85f1117971eb466dbe68caf17b662be6a5296252
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Wed Jan 10 00:08:21 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> php-gd: --enable-gd-native-ttf is for PHP < 5.5
</span>---
lang/php/Portfile | 6 +++++-
1 file changed, 5 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 bcfc7c2f9b1..99502aebe91 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;'>@@ -1053,7 +1053,11 @@ subport ${php}-gd {
</span> patchfiles-append patch-${php}-jpeg-9.diff
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-gd-native-ttf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${branch} < 5.5]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This flag was removed in PHP 7.2.0 and does nothing in PHP >= 5.5.0.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/php/php-src/commit/494c5dc77ae92d21db915abada2ecefaca620543
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-gd-native-ttf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
if {[vercmp ${branch} 7.0] >= 0} {
depends_lib-append port:webp
</pre><pre style='margin:0'>
</pre>