libcxx on older systems (eg 10.6) test and fixes format

Ken Cunningham ken.cunningham.webuse at
Sat Aug 13 09:34:22 PDT 2016

Thanks for the rescue :>

That looks like what I was after. It's easy to spot in the portfile, clear, and can be very specific for snowleopard, or generalized up to the 10.8 & earlier if the fixes work all the way up to there with a simple, easily recognized change.

Re: overly specific -- Indeed, I'm trying hard to stay well clear of the other systems to avoid any chance of causing unforeseen trouble - supporting snow leopard is not on many people's radar perhaps, and I certainly don't want to trigger some Portfile frustrations that triggers support to drop completely in the process.


On 2016-08-13, at 8:44 AM, Lawrence Velázquez wrote:

> On Aug 13, 2016, at 11:11 AM, Ken Cunningham
> <ken.cunningham.webuse at> wrote:
>> I just realized that MINOR is a qt4-mac specific global, not
>> a Macports global. And it seemed so handy for what I wanted to do.
>> Damn. Bad start to this thread. Let me try again another day.
> No need:
> 	if {${os.platform} eq "darwin" && ${os.major} <= 10
> 	        && ${configure.cxx_stdlib} eq "libc++"} {
> 	    # Snow Leopard and earlier
> 	}
> Tiger is 8, Leopard 9, etc.
> As I mentioned in one of the tickets you opened, I don't see a need to
> check the OS unless the fix actually breaks things on newer OSes,
> although I guess there's something to be said for being as specific as
> possible.
> vq

More information about the macports-dev mailing list