[141016] trunk/dports/security/KeePassX/Portfile
Ryan Schmidt
ryandesign at macports.org
Fri Oct 9 06:57:49 PDT 2015
> On Oct 7, 2015, at 6:29 PM, eborisch at macports.org wrote:
>
> Revision
> 141016
> Author
> eborisch at macports.org
> 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.
More information about the macports-dev
mailing list