<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/38f842d95b7a457f7759fc271e50c4b858c790a3">https://github.com/macports/macports-ports/commit/38f842d95b7a457f7759fc271e50c4b858c790a3</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 38f842d95b7 boost176: Use PATH workaround to enforce correct 'clang++' compiler
</span>38f842d95b7 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 38f842d95b7a457f7759fc271e50c4b858c790a3
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Thu Jun 3 09:37:38 2021 +0100

<span style='display:block; white-space:pre;color:#404040;'>    boost176: Use PATH workaround to enforce correct 'clang++' compiler
</span>---
 devel/boost176/Portfile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/boost176/Portfile b/devel/boost176/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c3e5878d9c7..e5d0635f25f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/boost176/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/boost176/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,9 +54,11 @@ post-extract {
</span>         }
     }
     # Enforce correct compiler and flags are used to build b2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    set f ${worksrcpath}/tools/build/src/engine/build.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s|^B2_CXX_OPT=.*|B2_CXX_OPT=${configure.cxx}|g"                    ${f}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s|^B2_CXXFLAGS_OPT=.*|B2_CXXFLAGS_OPT=\"${configure.cxxflags}\"|g" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    xinstall -m 755 -d ${workpath}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.env-append  PATH=${workpath}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.env-append      PATH=${workpath}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    ln -s ${configure.cxx} ${workpath}/bin/clang++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    ln -s ${configure.cc}  ${workpath}/bin/clang
</span> }
 
 # Install prefix for this port
</pre><pre style='margin:0'>

</pre>