[115574] trunk/dports/graphics/makeicns/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Jan 5 14:29:19 PST 2014


On Jan 5, 2014, at 15:42, Jeremy Huddleston Sequoia <jeremyhu at macports.org> wrote:

> On Jan 5, 2014, at 13:14, Ryan Schmidt <ryandesign at macports.org> 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… 




More information about the macports-dev mailing list