[101344] trunk/dports/python/py-matplotlib/Portfile

ram at macports.org ram at macports.org
Tue Jan 8 18:43:39 PST 2013


Revision: 101344
          https://trac.macports.org/changeset/101344
Author:   ram at macports.org
Date:     2013-01-08 18:43:39 -0800 (Tue, 08 Jan 2013)
Log Message:
-----------
python/py-matplotlib: build fails with gcc-4.0 on Leopard, use gcc-4.2 (#37069)

Modified Paths:
--------------
    trunk/dports/python/py-matplotlib/Portfile

Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile	2013-01-09 02:35:31 UTC (rev 101343)
+++ trunk/dports/python/py-matplotlib/Portfile	2013-01-09 02:43:39 UTC (rev 101344)
@@ -47,6 +47,11 @@
   reinplace "s|@@PYTHON_BRANCH@@|${prefix}|" ${worksrcpath}/setupext.py
 }
 
+# build fails with gcc-4.0 on Leopard, use gcc-4.2 (#37069)
+if {${configure.compiler} == "gcc-4.0"} {
+   configure.compiler gcc-4.2
+}
+
 post-destroot {
   if {${name} != ${subport}} {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130108/dc9e6be9/attachment-0001.html>


More information about the macports-changes mailing list