<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/07211ee881f797e3e652d96a51c089603c0d9402">https://github.com/macports/macports-ports/commit/07211ee881f797e3e652d96a51c089603c0d9402</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 07211ee  plumed: explicity link c++ stdlib
</span>07211ee is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 07211ee881f797e3e652d96a51c089603c0d9402
</span>Author: kencu <ken.cunningham.webuse@gmail.com>
AuthorDate: Thu Feb 1 12:43:51 2018 -0500

<span style='display:block; white-space:pre;color:#404040;'>    plumed: explicity link c++ stdlib
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    when building with clang only
</span><span style='display:block; white-space:pre;color:#404040;'>    post-configure block to handle building
</span><span style='display:block; white-space:pre;color:#404040;'>    gcc variants that set the compiler after
</span><span style='display:block; white-space:pre;color:#404040;'>    initial portfile processing
</span>---
 science/plumed/Portfile | 9 +++++++++
 1 file changed, 9 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/plumed/Portfile b/science/plumed/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7124295..472ea5f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/plumed/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/plumed/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,6 +77,15 @@ depends_lib-append  port:gsl \
</span>                     port:xdrfile \
                     port:zlib
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# C++ library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Required in order to use clang with gcc library on old OSX versions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See https://github.com/macports/macports-ports/pull/1254
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if [string match *clang* ${configure.compiler}] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.ldflags-append -stdlib=${configure.cxx_stdlib}
</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;'>+
</span> # This variant enables optional modules in PLUMED.
 # Notice that one of the optional modules (drr) requires boost_serialization
 variant allmodules description {Enable all optional modules} {
</pre><pre style='margin:0'>

</pre>