MacPorts 2.5.0-beta1 now available for testing

Ryan Schmidt ryandesign at macports.org
Sat May 26 19:27:31 UTC 2018


On May 26, 2018, at 14:25, Ken Cunningham wrote:

> On May 26, 2018, at 9:49 AM, Ryan Schmidt wrote:
> 
>> On May 26, 2018, at 11:48, Ken Cunningham wrote:
>> 
>>> Well I think you did the cmake finaggeling last time.... Not sure you could find a better way, but I wait to see...
>> 
>> I don't recall what you're referring to.
> 
> if {!((${os.platform} eq "darwin" && ${os.major} < 10) || ${build_arch} eq "ppc" || ${build_arch} eq "ppc64")} {
>    depends_lib-append port:libcxx
>    configure.cxx_stdlib libc++
> }
> 
> So this forces a build against libc++ on systems that have cxx_stdlib set to libstdc++.
> 
> Will this trigger an error? 

No, because the port correctly indicates, by setting configure.cxx_stdlib, which C++ standard library will be used.


> Maybe I don’t understand exactly how the error mechanism is setup.

The error occurs when there is a mismatch between which C++ standard library a port says it uses (by setting configure.cxx_stdlib, or by leaving it set to its default value) and which C++ standard library it actually links with.



More information about the macports-dev mailing list