<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bd5eab5ccfdcd84fd3ffe600a2ec99c5ebdd6bb4">https://github.com/macports/macports-ports/commit/bd5eab5ccfdcd84fd3ffe600a2ec99c5ebdd6bb4</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 bd5eab5ccfd golang PG: temporaily disable additional settings for legacysupport Causing issues with Tcl string quoting I need to fix...
</span>bd5eab5ccfd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bd5eab5ccfdcd84fd3ffe600a2ec99c5ebdd6bb4
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue May 4 15:40:24 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> golang PG: temporaily disable additional settings for legacysupport
</span><span style='display:block; white-space:pre;color:#404040;'> Causing issues with Tcl string quoting I need to fix...
</span>---
_resources/port1.0/group/golang-1.0.tcl | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/golang-1.0.tcl b/_resources/port1.0/group/golang-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index d8cc6afaeaf..5de74a71f4f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/golang-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/golang-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -172,15 +172,15 @@ proc go.append_env {} {
</span> global os.major build.env workpath
# Create a wrapper scripts around compiler commands to enforce use of MacPorts flags
# and to aid use of MacPorts legacysupport library as required.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${os.major} <= [option legacysupport.newest_darwin_requires_legacy] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if { ${os.major} <= [option legacysupport.newest_darwin_requires_legacy] } {
</span> # Note, go annoyingly uses CC for both building and linking, and thus in order to get it to correctly
# link to the legacy support library, the ldflags need to be added to the cc and ccx wrappers.
# To then prevent 'clang linker input unused' errors we must append -Wno-error at the end.
# Also remove '-static' from compilation options as this is not supported on older systems.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compwrap.compiler_args_forward {\$\{\@\//-static/\}}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compwrap.compiler_pre_flags ${configure.ldflags}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compwrap.compiler_post_flags {-Wno-error}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #compwrap.compiler_args_forward {\$\{\@\//-static/\}}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #compwrap.compiler_pre_flags " ${configure.ldflags} "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #compwrap.compiler_post_flags { -Wno-error }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #}
</span> post-extract {
build.env-append \
"CC=[compwrap::create_wrapper cc]" \
</pre><pre style='margin:0'>
</pre>