<pre style='margin:0'>
Blair Zajac (blair) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c5e6ca59d35b76676846a5c5a31c7456784b737f">https://github.com/macports/macports-ports/commit/c5e6ca59d35b76676846a5c5a31c7456784b737f</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 c5e6ca59d35 nodejs16: workaround 16.6.0 compile failure on Xcode 10.1/macOS 10.13.
</span>c5e6ca59d35 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c5e6ca59d35b76676846a5c5a31c7456784b737f
</span>Author: Blair Zajac <blair@macports.org>
AuthorDate: Fri Jul 30 10:42:57 2021 -0700
<span style='display:block; white-space:pre;color:#404040;'> nodejs16: workaround 16.6.0 compile failure on Xcode 10.1/macOS 10.13.
</span>---
devel/nodejs16/Portfile | 8 ++++++++
1 file changed, 8 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nodejs16/Portfile b/devel/nodejs16/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6e96e86a412..1a310fa4a5e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nodejs16/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nodejs16/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -83,6 +83,14 @@ post-patch {
</span> reinplace -q "s|'python3'|'${configure.python}'|" ${gypfile}
reinplace -q "s|'python'|'${configure.python}'|" ${gypfile}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.platform} eq "darwin" && ${os.major} <= 17 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Officially nodejs requires Xcode 11 to compile, however, the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # only item that Xcode 11 has that Xcode 10.1 doesn't is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # os/signpost.h, so disable system instrumentation which uses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # it. This provides support for macOS 10.13 which can only use
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Xcode 10.1.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|'v8_enable_system_instrumentation': 1|'v8_enable_system_instrumentation': 0|" ${worksrcpath}/tools/v8_gypfiles/features.gypi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
# use the system libuv instead of the bundled version, as it is fixed for older systems
</pre><pre style='margin:0'>
</pre>