Changeset 104264


Ignore:
Timestamp:
Mar 22, 2013, 12:47:02 PM (6 years ago)
Author:
ryandesign@…
Message:

rethinkdb: blacklist all compilers that won't work and add a clang-3.2 fallback (#38490)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/rethinkdb/Portfile

    r104262 r104264  
    33
    44PortSystem          1.0
     5PortGroup           compiler_blacklist_versions 1.0
    56
    67name                rethinkdb
     
    3435universal_variant   no
    3536
    36 compiler.blacklist  gcc-4.0 gcc-4.2 macports-gcc-4.2 macports-gcc-4.3
     37# Error: GCC 4.2.2 is too old. At least GCC 4.4.3 is required
     38compiler.blacklist-append apple-gcc-4.0 apple-gcc-4.2
     39compiler.blacklist-append gcc-4.0 gcc-4.2
     40compiler.blacklist-append llvm-gcc-4.2 macports-llvm-gcc-4.2
     41compiler.blacklist-append macports-gcc-4.2 macports-gcc-4.3
     42
     43# Xcode 3.2.x included clang but not clang++, so it used llvm-g++-4.2 instead.
     44compiler.blacklist-append {clang < 137}
     45
     46# TODO: Remove when base fallback lists are updated (2.2?).
     47compiler.fallback-append macports-clang-3.2
     48
     49# TODO: Remove when automatic compiler dependencies are released (2.2?).
     50if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
     51    set compiler $portconfigure::compiler_name_map(${configure.compiler})
     52    if {[string first macports-gcc- ${configure.compiler}] == 0} {
     53        depends_lib-append              port:${compiler}
     54    } else {
     55        depends_build-append            port:${compiler}
     56    }
     57    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
     58        depends_skip_archcheck-append   ${compiler}
     59    }
     60}
    3761
    3862set webresdir       ${prefix}/share/${name}/web
Note: See TracChangeset for help on using the changeset viewer.