On Jan 5, 2014, at 15:42, Jeremy Huddleston Sequoia <[email protected]> 
wrote:

> On Jan 5, 2014, at 13:14, Ryan Schmidt <[email protected]> wrote:
> 
>> It sucks having to add this boilerplate to each port. How do we fix base to 
>> make this unnecessary? Or does trunk already take care of it?
> 
> Once 2.3 is released, that entire hunk will become:
> 
> if {[string match *clang* ${configure.cxx}]} {
>    configure.cxxflags-append -stdlib=${configure.cxx_stdlib}
>    configure.ldflags-append -stdlib=${configure.cxx_stdlib}
> }
> 
> Hence my "TODO.*2.3" comment.  I'll be going through and simplifying all that 
> cruft once we release the next version of base.

Right, it’ll become simplified, but not totally eliminated. :/

Adding -stdlib=… would be wrong for non-clang?

It would be nice if base could put the right argument into the flags 
automatically. I don’t think we can realistically expect to hand-modify 10,000 
portfiles for this… 


_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to