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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cd816c4239035846355b58a6aa99cd43399218a4">https://github.com/macports/macports-ports/commit/cd816c4239035846355b58a6aa99cd43399218a4</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 cd816c4  py-clnum: Use C++11
</span>cd816c4 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit cd816c4239035846355b58a6aa99cd43399218a4
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Jan 12 12:05:29 2020 -0600

<span style='display:block; white-space:pre;color:#404040;'>    py-clnum: Use C++11
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes build with new cln which appears to require C++11.
</span>---
 python/py-clnum/Portfile | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-clnum/Portfile b/python/py-clnum/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3756090..8f59267 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-clnum/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-clnum/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,8 +6,13 @@ PortGroup                   python 1.0
</span> name                        py-clnum
 set my_name                 clnum
 version                     1.6
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                    0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums                   rmd160  1e86c3df9ab44c7a777c637f274a736c81e4b231 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            sha256  ced1834d82553a2091c879e8b1cfe9fef03a42dd825fc90c3c6afe6cd81e8266 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            size    40085
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platforms                   darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers                 ryandesign openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers                 {ryandesign @ryandesign} openmaintainer
</span> license                     GPL-2
 homepage                    http://calcrpnpy.sourceforge.net/
 master_sites                sourceforge:project/calcrpnpy/clnum/clnum-${version}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,16 +24,23 @@ long_description            ${my_name} is ${description}.
</span> 
 distname                    ${my_name}-${version}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums                   md5     f65404433484707f7fb5a50416de6acf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            sha1    13d22216539b157d0369f44483c30390495c6a63 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            rmd160  1e86c3df9ab44c7a777c637f274a736c81e4b231
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> python.versions             26
 
 if {${subport} ne ${name}} {
     depends_lib-append          port:cln
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    build.env                   CPPFLAGS=${configure.cppflags}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # cln now appears to require C++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.cxx_standard       2011
</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;'>+    # distutils ludicrously compiles C++ software with the C compiler so
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # we have to specify that the C compiler is the C++ compiler.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://bugs.python.org/issue1222585
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # The python portgroup ludicrously does not allow cflags/cxxflags to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # be changed so we have to put them in with the compiler.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.cc                {*}${configure.cxx} {*}${configure.cxxflags}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.env                   "CPPFLAGS=${configure.cppflags}"
</span> 
     post-destroot {
         set docdir ${destroot}${prefix}/share/doc/${subport}
</pre><pre style='margin:0'>

</pre>