Ignore:
Timestamp:
Jan 29, 2013, 7:53:39 AM (7 years ago)
Author:
jeremyhu@…
Message:

misc: Update compiler dependency workaround for #32542, see #37817

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/llvm-3.0/Portfile

    r102101 r102174  
    119119
    120120# TODO: base should do this: http://trac.macports.org/ticket/32542
    121 if {[portconfigure::compiler_is_port ${configure.compiler}]} {
    122     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler}) port:ld64 port:cctools
    123     depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler}) ld64 cctools
     121if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
     122    depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
     123
     124    # base 2.1.x ignores the argument and just use ${configure.compiler}
     125    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
     126        depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
     127    }
     128
     129    if {[string match macports-gcc* ${configure.compiler}]} {
     130        depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
     131    }
    124132}
    125133
Note: See TracChangeset for help on using the changeset viewer.