<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/aecea266e44e272c402d9fb64c63daf82a3b3afc">https://github.com/macports/macports-ports/commit/aecea266e44e272c402d9fb64c63daf82a3b3afc</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 aecea266e44 boost PG: Append include dir to cppflags, use -I instead of -isystem Closes: https://trac.macports.org/ticket/63108
</span>aecea266e44 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit aecea266e44e272c402d9fb64c63daf82a3b3afc
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Thu Jun 17 11:21:48 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> boost PG: Append include dir to cppflags, use -I instead of -isystem
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/63108
</span>---
_resources/port1.0/group/boost-1.0.tcl | 14 ++++++++++++--
1 file changed, 12 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 0cdc635e05b..2cc2ee427dc 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;'>@@ -20,6 +20,7 @@ default boost.require_numpy no
</span> default boost_cache_version_nodot ""
default boost_cache_depends ""
default boost_cache_cpath ""
<span style='display:block; white-space:pre;background:#e0ffe0;'>+default boost_cache_cppflags ""
</span> default boost_cache_cxxflags ""
default boost_cache_ldflags ""
default boost_cache_cmake_flags ""
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,18 +52,22 @@ proc boost::depends_portname {} {
</span> }
proc boost::cxx_flags {} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- return -isystem[boost::include_dir]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -I[boost::include_dir]
</span> }
proc boost::ld_flags {} {
return -L[boost::lib_dir]
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+proc boost::cpp_flags {} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -I[boost::include_dir]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> proc boost::configure_build {} {
global cmake.build_dir meson.build_type
global boost_cache_version_nodot boost_cache_depends boost_cache_cxxflags
global boost_cache_ldflags boost_cache_cmake_flags boost_cache_cmake
<span style='display:block; white-space:pre;background:#ffe0e0;'>- global boost_cache_env_vars boost_cache_cpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global boost_cache_env_vars boost_cache_cpath boost_cache_cppflags
</span>
ui_debug "boost PG: Configure build for boost [boost::version]"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -81,14 +86,19 @@ proc boost::configure_build {} {
</span> }
# Append to the build flags to find the isolated headers/libs
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${boost_cache_cppflags} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-delete ${boost_cache_cppflags}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> if { ${boost_cache_cxxflags} ne "" } {
configure.cxxflags-delete ${boost_cache_cxxflags}
}
if { ${boost_cache_ldflags} ne "" } {
configure.ldflags-delete ${boost_cache_ldflags}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ set boost_cache_cppflags [boost::cpp_flags]
</span> set boost_cache_cxxflags [boost::cxx_flags]
set boost_cache_ldflags [boost::ld_flags]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-prepend ${boost_cache_cppflags}
</span> configure.cxxflags-prepend ${boost_cache_cxxflags}
configure.ldflags-prepend ${boost_cache_ldflags}
</pre><pre style='margin:0'>
</pre>