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/devel/ppl/Portfile

    r102079 r102174  
    4242
    4343# TODO: base should do this: http://trac.macports.org/ticket/32542
    44 if {[portconfigure::compiler_is_port ${configure.compiler}]} {
     44if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    4545    depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    46     depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
     46
     47    # base 2.1.x ignores the argument and just use ${configure.compiler}
     48    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
     49        depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
     50    }
     51
     52    if {[string match macports-gcc* ${configure.compiler}]} {
     53        depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
     54    }
    4755}
    4856
Note: See TracChangeset for help on using the changeset viewer.