<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/9aef396e4c29007abf037434284b5e3858bfafe3">https://github.com/macports/macports-ports/commit/9aef396e4c29007abf037434284b5e3858bfafe3</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 9aef396 boost: use c++11 for building
</span>9aef396 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9aef396e4c29007abf037434284b5e3858bfafe3
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Thu Mar 8 12:05:48 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> boost: use c++11 for building
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/55926
</span>---
devel/boost/Portfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/boost/Portfile b/devel/boost/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 59fb944..ba0385f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/boost/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/boost/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,11 +3,12 @@
</span> PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
PortGroup mpi 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span>
name boost
version 1.66.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> checksums rmd160 ee5dafdfa49adf50a5333cef1f55dac4f70b4c14 \
sha256 5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9 \
size 85995778
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -88,6 +89,13 @@ compiler.blacklist {clang < 421} *llvm-gcc-4.2 *gcc-4.0 gcc-3.3
</span> compilers.choose cc cxx
mpi.setup -gcc -dragonegg
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# NOTE: although technically Boost does not require C++11 compliance
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# for building, doing so allows for building on more OSs than without.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Further: Building Boost using C++11 compliance does not seem to then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# require ports depending on Boost to also require C++11 compliance,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# and requiring it does make such building easier for those ports.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append -std=gnu++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # It turns out that ccache and distcc can produce boost libraries that, although they
# compile without warning, have all sorts of runtime errors especially with pointer corruption.
# Since most people will now use MacPorts' pre-compiled boost, this should not be a problem.
</pre><pre style='margin:0'>
</pre>