<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/0de34f8cbfe298c910e43b13dfcdae510fa58fa2">https://github.com/macports/macports-ports/commit/0de34f8cbfe298c910e43b13dfcdae510fa58fa2</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0de34f8cbfe298c910e43b13dfcdae510fa58fa2
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Mon Jun 7 09:55:55 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> boost PG: Check build type using configure.cmd
</span>---
_resources/port1.0/group/boost-1.0.tcl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/boost-1.0.tcl b/_resources/port1.0/group/boost-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index fcc3a3a09e5..7910b7771d8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/boost-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/boost-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -108,7 +108,7 @@ proc boost::configure_build {} {
</span> # For meson, add to compiler.cpath. See discussion at
# https://github.com/macports/macports-ports/commit/f55147262b22ec1f81831cd58295bd0bdfc25f01
# limit this to meson, for now, incase appending to compiler.cpath hurts other builds
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [info exists meson.build_type] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string match *meson* [option configure.cmd] ] } {
</span> if { ${boost_cache_cpath} ne "" } {
compiler.cpath-delete ${boost_cache_cpath}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -119,7 +119,7 @@ proc boost::configure_build {} {
</span> # Are we using cmake ?
# As we are appending to configure flags, need to check if cmake is in use
# before appending the cmake specific flags
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [info exists cmake.build_dir] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string match *cmake* [option configure.cmd] ] } {
</span> if { ${boost_cache_cmake_flags} ne "" } {
foreach flag ${boost_cache_cmake_flags} {
configure.args-delete ${flag}
</pre><pre style='margin:0'>
</pre>