<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/b2f8c96f9ce0a9ead308bf2f93bd36b58c72ba46">https://github.com/macports/macports-ports/commit/b2f8c96f9ce0a9ead308bf2f93bd36b58c72ba46</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new b2f8c96f9ce curl: Enable +http2 by default only on macOS 14+
</span>b2f8c96f9ce is described below

<span style='display:block; white-space:pre;color:#808000;'>commit b2f8c96f9ce0a9ead308bf2f93bd36b58c72ba46
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Tue May 21 11:32:46 2024 -0500

<span style='display:block; white-space:pre;color:#404040;'>    curl: Enable +http2 by default only on macOS 14+
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://trac.macports.org/ticket/70048
</span>---
 net/curl/Portfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/curl/Portfile b/net/curl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0b52edaaeb1..d54a4d8e989 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/curl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/curl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -217,14 +217,14 @@ if {${name} eq ${subport}} {
</span>         configure.args-replace  --without-nghttp2 --with-nghttp2=${prefix}
     }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # HTTP/2 support is desirable but nghttp2 requires C++14. Some users
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # HTTP/2 support is desirable but nghttp2 requires C++20. Some users
</span>     # use a bootstrap MacPorts installation to provide a newer curl for
     # a primary MacPorts installation and requiring those users to build
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # a C++14 compiler for that is undesirable. Also, newer clangs use
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # a C++20 compiler for that is undesirable. Also, newer clangs use
</span>     # cmake, which uses curl, so it would introduce a dependency cycle.
     # So enable this variant by default only on systems that have a
     # suitable compiler in Xcode.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${os.platform} ne "darwin" || ${os.major} >= 14} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.platform} ne "darwin" || ${os.major} >= 23} {
</span>         default_variants-append +http2
     }
 
</pre><pre style='margin:0'>

</pre>