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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/da3d6ce9e8c8003441aed314f8cf1a87d2a2e99b">https://github.com/macports/macports-ports/commit/da3d6ce9e8c8003441aed314f8cf1a87d2a2e99b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit da3d6ce9e8c8003441aed314f8cf1a87d2a2e99b
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Wed Dec 9 21:26:25 2020 -0500

<span style='display:block; white-space:pre;color:#404040;'>    py-matplotlib: attempt to fix build on 10.5
</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/61757
</span>---
 python/py-matplotlib/Portfile | 6 ++++++
 1 file changed, 6 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-matplotlib/Portfile b/python/py-matplotlib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8b5bda05651..e0f6c22250c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-matplotlib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-matplotlib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -94,6 +94,12 @@ if {${name} ne ${subport}} {
</span>     # build fails with gcc-4.0 on Leopard, use gcc-4.2 (#37069)
     compiler.blacklist gcc-4.0
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    # additionally on Leopard the macosx backend cannot be compiled anymore, see Trac ticket:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # https://trac.macports.org/ticket/61757
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.platform} eq "darwin" && ${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace "s|^macosx=True|macosx=False" ${worksrcpath}/setup.cfg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     if {${python.version} in "27 35"} {
         post-patch {
             reinplace "s|@@PREFIX@@|${prefix}|" ${worksrcpath}/setup.cfg
</pre><pre style='margin:0'>

</pre>