[115574] trunk/dports/graphics/makeicns/Portfile
Ryan Schmidt
ryandesign at macports.org
Mon Jan 6 05:26:36 PST 2014
On Jan 5, 2014, at 17:52, Lawrence Velázquez wrote:
> Trunk does add "-stdlib" automatically (and only for Clang, I think), but it appends it to CXXFLAGS in configure's environment. I implemented configure.cxx_stdlib this way to ensure that ports could not accidentally trash the argument by setting configure.cxxflags, as they can currently do to configure.optflags. The downside is that we need this boilerplate for ports that don't read CXXFLAGS.
>
> Another option might be to set a variable trace on configure.cxxflags to ensure that it always contains "-stdlib…". I can look into this when I'm back at my machine.
Or we could just consider it a bug for ports to override options like configure.cxxflags. Ports should append instead.
More information about the macports-dev
mailing list