<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/e595144a425bafaf201bbe444eb9e01757a4929f">https://github.com/macports/macports-ports/commit/e595144a425bafaf201bbe444eb9e01757a4929f</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 e595144  uhd*:  try to enable C++11 for older compilers too.
</span>e595144 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit e595144a425bafaf201bbe444eb9e01757a4929f
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Tue May 23 09:36:00 2017 -0400

<span style='display:block; white-space:pre;color:#404040;'>    uhd*:  try to enable C++11 for older compilers too.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    For some reason cmake doesn't recognize libstdc++ compilers as being c++11 capable, even though some are. set this flag and hope for the best!
</span>---
 science/uhd/Portfile | 9 +++++++++
 1 file changed, 9 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/uhd/Portfile b/science/uhd/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0612251..40c5347 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/uhd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/uhd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -115,6 +115,15 @@ configure.args-append \
</span> configure.args-append \
     -DCMAKE_CXX_STANDARD=11
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# try to enable C++11 for older compilers too.  for some reason cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# doesn't recognize libstdc++ compilers as being c++11 capable, even
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# though some are. set this and hope for the best ...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.cxx_stdlib} eq "macports-libstdc++" ||
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    ${configure.cxx_stdlib} eq "libstdc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.cxxflags-append -std=c++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # per user concensus: enable all variants except +debug and +universal
 
 default_variants +docs +examples +libusb +manual +test +manpages +gpsd
</pre><pre style='margin:0'>

</pre>