Changeset 141068 for trunk/dports


Ignore:
Timestamp:
Oct 9, 2015, 2:25:55 PM (4 years ago)
Author:
eborisch@…
Message:

KeePassX: Check configure.cxx_stdlib to determine C++11 config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/KeePassX/Portfile

    r141052 r141068  
    99
    1010name                    KeePassX
    11 revision                1
     11revision                2
    1212categories              security aqua
    1313maintainers             nomaintainer
     
    4444    -DCMAKE_INSTALL_PREFIX=${applications_dir}
    4545
    46 platform darwin {
    47     if {${os.major} < 13} {
    48         # Build fails with clang: unsupported -stack-protector-buffer-size=4
    49         # (even though clang -help lists option)
    50         # Disabling blacklist; option no longer set in source CMakeLists.txt
    51         # compiler.blacklist          clang
    52         configure.pre_args-append   -DWITH_CXX11=OFF
    53     }
     46if {${configure.cxx_stdlib} eq "libstdc++"} {
     47    configure.pre_args-append   -DWITH_CXX11=OFF
    5448}
    5549
Note: See TracChangeset for help on using the changeset viewer.