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/multimedia/ffmpeg-devel/Portfile

    r102090 r102174  
    9898
    9999# TODO: base should do this: http://trac.macports.org/ticket/32542
    100 if {[portconfigure::compiler_is_port ${configure.compiler}]} {
     100if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    101101    depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    102     depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
     102
     103    # base 2.1.x ignores the argument and just use ${configure.compiler}
     104    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
     105        depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
     106    }
     107
     108    if {[string match macports-gcc* ${configure.compiler}]} {
     109        depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
     110    }
    103111}
    104112
Note: See TracChangeset for help on using the changeset viewer.