<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/e8b26b4e6053a0d0966b3b4f1d9ef040385deb1f">https://github.com/macports/macports-ports/commit/e8b26b4e6053a0d0966b3b4f1d9ef040385deb1f</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 e8b26b4e605 boost PG: Improve CMake support
</span>e8b26b4e605 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e8b26b4e6053a0d0966b3b4f1d9ef040385deb1f
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Thu Jun 3 09:58:37 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> boost PG: Improve CMake support
</span>---
_resources/port1.0/group/boost-1.0.tcl | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
<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 7a9223e4226..29568d28ef0 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;'>@@ -80,7 +80,17 @@ proc boost::configure_build {} {
</span> configure.args-delete ${flag}
}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set boost_last_cmake_flags [list -DBoost_INCLUDE_DIR=[boost::include_dir] -DBoost_DIR=[boost::install_area]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Try and cover all bases here and set all possible variables ...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See https://cmake.org/cmake/help/latest/module/FindBoost.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set boost_last_cmake_flags [list \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBOOST_ROOT=[boost::install_area] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBOOSTROOT=[boost::install_area] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBOOST_INCLUDEDIR=[boost::include_dir] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBOOST_LIBRARYDIR=[boost::lib_dir] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBoost_NO_SYSTEM_PATHS=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBoost_INCLUDE_DIR=[boost::include_dir] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBoost_DIR=[boost::install_area] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span> foreach flag ${boost_last_cmake_flags} {
configure.args-append ${flag}
}
</pre><pre style='margin:0'>
</pre>