> On Oct 7, 2015, at 6:29 PM, [email protected] wrote:
> 
> Revision
> 141016
> Author
> [email protected]
> Date
> 2015-10-07 16:29:28 -0700 (Wed, 07 Oct 2015)
> Log Message
> 
> KeePassX: Update to 2.0-beta2. Use github and cmake (with out_of_source) 
> groups. WITH_CXX11 switched to default ON; change config options.


>  platform darwin {
>      if {${os.major} < 13} {
>          # Build fails with clang: unsupported -stack-protector-buffer-size=4
>          # (even though clang -help lists option)
> -        compiler.blacklist          clang
> -    } else {
> -        configure.pre_args-append   -DWITH_CXX11=On
> +        # Disabling blacklist; option no longer set in source CMakeLists.txt
> +        # compiler.blacklist          clang
> +        configure.pre_args-append   -DWITH_CXX11=OFF
>      }
>  }

The decision about whether to use C++11 or not should be based not on the OS X 
version but on whether the variable ${configure.cxx_stdlib} is equal to the 
string "libc++" or not. libc++ supports C++11; the older libstdc++ runtime does 
not, and it is possible for users of older systems to configure MacPorts to use 
libc++ instead.


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

Reply via email to