<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/0cab4cb66b1daeaec40dada968a5246acac277bd">https://github.com/macports/macports-ports/commit/0cab4cb66b1daeaec40dada968a5246acac277bd</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 0cab4cb  bazel: Fix file paths in reinplace patching
</span>0cab4cb is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 0cab4cb66b1daeaec40dada968a5246acac277bd
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Fri Jun 7 15:07:27 2019 +0100

<span style='display:block; white-space:pre;color:#404040;'>    bazel: Fix file paths in reinplace patching
</span>---
 devel/bazel/Portfile | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/bazel/Portfile b/devel/bazel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1b888e6..f405700 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/bazel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/bazel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -134,16 +134,17 @@ build {
</span> 
     if {[vercmp ${xcodeversion} ${bazel_min_xcode}] < 0} {
         # Patch build files to enforce correct compiler
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        foreach f { scripts/bootstrap/compile.sh tools/osx/crosstool/CROSSTOOL.tpl src/test/shell/bazel/testdata/bazel_toolchain_test_data/tools/arm_compiler/CROSSTOOL tools/cpp/unix_cc_configure.bzl tools/cpp/CROSSTOOL third_party/zlib/configure src/test/java/com/google/devtools/build/lib/analysis/mock/MOCK_CROSSTOOL } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            if {[file exists ${f}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        foreach f { scripts/bootstrap/compile.sh tools/osx/crosstool/CROSSTOOL.tpl src/test/shell/bazel/testdata/bazel_toolchain_test_data/tools/arm_compiler/CROSSTOOL tools/cpp/unix_cc_configure.bzl tools/cpp/CROSSTOOL third_party/zlib/configure src/test/java/com/google/devtools/build/lib/analysis/mock/MOCK_CROSSTOOL tools/cpp/cc_toolchain_config.bzl tools/osx/crosstool/cc_toolchain_config.bzl.tpl } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            set ff ${worksrcpath}/${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if {[file exists ${ff}]} {
</span>                 foreach cmd {ar nm strip libtool ld objdump} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    reinplace -q "s|/usr/bin/${cmd}|${prefix}/bin/${cmd}|g" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    reinplace -q "s|/usr/bin/${cmd}|${prefix}/bin/${cmd}|g" ${ff}
</span>                 }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                reinplace -q "s|/usr/bin/clang|${configure.cc}|g"       ${f}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                reinplace -q "s|\"clang\"|\"${configure.cc}\"|g"        ${f}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                reinplace -q "s| clang | ${configure.cc} |g"            ${f}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                reinplace -q "s|/usr/local/include|${prefix}/include|g" ${f}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                reinplace -q "s|std=c++0x|std=c++11|g"                  ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                reinplace -q "s|/usr/bin/clang|${configure.cc}|g"       ${ff}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                reinplace -q "s|\"clang\"|\"${configure.cc}\"|g"        ${ff}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                reinplace -q "s| clang | ${configure.cc} |g"            ${ff}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                reinplace -q "s|/usr/local/include|${prefix}/include|g" ${ff}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                reinplace -q "s|std=c++0x|std=c++11|g"                  ${ff}
</span>             }
         }
     }
</pre><pre style='margin:0'>

</pre>