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

2013-01-10 Thread Adam Mercer
On Thu, Jan 10, 2013 at 8:53 PM, Ryan Schmidt wrote: > I'm looking through them but not really finding the example I was hoping for. > A lot of Jeremy Huddleston's ports do this: > > configure.compiler gcc-4.2 > if {![file exists ${configure.cc}]} { > depends_build-append port:apple-gcc42 >

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

2013-01-10 Thread Jeremy Huddleston Sequoia
On Jan 10, 2013, at 6:53 PM, Ryan Schmidt wrote: > > On Jan 10, 2013, at 20:40, Adam Mercer wrote: > >> On Thu, Jan 10, 2013 at 8:22 PM, Ryan Schmidt wrote: >> +# build fails with gcc-4.0 on Leopard, use gcc-4.2 (#37069) +if {${configure.compiler} == "gcc-4.0"} { + configure.

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

2013-01-10 Thread Ryan Schmidt
On Jan 10, 2013, at 20:40, Adam Mercer wrote: > On Thu, Jan 10, 2013 at 8:22 PM, Ryan Schmidt wrote: > >>> +# build fails with gcc-4.0 on Leopard, use gcc-4.2 (#37069) >>> +if {${configure.compiler} == "gcc-4.0"} { >>> + configure.compiler gcc-4.2 >>> +} >> >> Couldn't this just be written as

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

2013-01-10 Thread Adam Mercer
On Thu, Jan 10, 2013 at 8:22 PM, Ryan Schmidt wrote: Ryan >> +# build fails with gcc-4.0 on Leopard, use gcc-4.2 (#37069) >> +if {${configure.compiler} == "gcc-4.0"} { >> + configure.compiler gcc-4.2 >> +} > > Couldn't this just be written as: > > compiler.blacklist gcc-4.0 > > Of course this

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

2013-01-10 Thread Ryan Schmidt
On Jan 8, 2013, at 20:43, r...@macports.org wrote: > Revision: 101344 > https://trac.macports.org/changeset/101344 > Author: r...@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 Leopa