<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/6ecc817027797a06068040568376bdca39d4137b">https://github.com/macports/macports-ports/commit/6ecc817027797a06068040568376bdca39d4137b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6ecc817027797a06068040568376bdca39d4137b
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Tue Jun 8 15:53:19 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> boost PG: Add some additional env vars, accessor procs
</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 7910b7771d8..62899a2b507 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;'>@@ -49,6 +49,14 @@ proc boost::depends_portname {} {
</span> return boost[boost::version_nodot]
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+proc boost::cxx_flags {} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -isystem[boost::include_dir]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+proc boost::ld_flags {} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -L[boost::lib_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
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,8 +86,8 @@ proc boost::configure_build {} {
</span> if { ${boost_cache_ldflags} ne "" } {
configure.ldflags-delete ${boost_cache_ldflags}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set boost_cache_cxxflags -isystem[boost::include_dir]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set boost_cache_ldflags -L[boost::lib_dir]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set boost_cache_cxxflags [boost::cxx_flags]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set boost_cache_ldflags [boost::ld_flags]
</span> configure.cxxflags-prepend ${boost_cache_cxxflags}
configure.ldflags-prepend ${boost_cache_ldflags}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -95,6 +103,8 @@ proc boost::configure_build {} {
</span> }
set boost_cache_env_vars [list \
BOOSTDIR=[boost::install_area] \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ BOOST_DIR=[boost::install_area] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BOOSTROOT=[boost::install_area] \
</span> BOOST_ROOT=[boost::install_area] \
BOOST_LIBRARYDIR=[boost::lib_dir] \
BOOST_INCLUDEDIR=[boost::include_dir] \
</pre><pre style='margin:0'>
</pre>