<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ed219183070e9c5e7b86ab7aa1510416b218be89">https://github.com/macports/macports-ports/commit/ed219183070e9c5e7b86ab7aa1510416b218be89</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ed219183070e9c5e7b86ab7aa1510416b218be89
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Mon May 31 17:00:31 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> boost PG: Set both Boost_INCLUDE_DIR and Boost_DIR when CMake is detected
</span>---
_resources/port1.0/group/boost-1.0.tcl | 6 ++----
1 file changed, 2 insertions(+), 4 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 2777abd9754..7bc172e6e1b 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;'>@@ -13,9 +13,6 @@ default boost.version 1.71
</span> options boost.depends_type
default boost.depends_type lib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-options boost.cmake_option_name
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-default boost.cmake_option_name Boost_INCLUDE_DIR
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> proc boost::version {} {
return [option boost.version]
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +47,8 @@ proc boost::configure {} {
</span> # are we using cmake ?
if { [info exists cmake.build_dir] } {
ui_debug "Detected Cmake PG in use"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -D[option boost.cmake_option_name]=[boost::include_dir]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DBoost_INCLUDE_DIR=[boost::include_dir] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBoost_DIR=[boost::install_area]
</span> }
}
</pre><pre style='margin:0'>
</pre>