Changeset 102174 for trunk/dports/gis


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/gis/cgal/Portfile

    r102134 r102174  
    5555
    5656# TODO: base should do this: http://trac.macports.org/ticket/32542
    57 if {[portconfigure::compiler_is_port ${configure.compiler}]} {
     57if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    5858    depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    59     depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
     59
     60    # base 2.1.x ignores the argument and just use ${configure.compiler}
     61    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
     62        depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
     63    }
     64
     65    if {[string match macports-gcc* ${configure.compiler}]} {
     66        depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
     67    }
    6068}
    6169
Note: See TracChangeset for help on using the changeset viewer.