Ignore:
Timestamp:
Jan 29, 2013, 4:53:04 PM (6 years ago)
Author:
jeremyhu@…
Message:

gnustep-make: Use compiler.blacklist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnustep/gnustep-make/Portfile

    r96186 r102253  
    2828destroot.violate_mtree yes
    2929
    30 platform darwin 8 {
    31     depends_lib         port:apple-gcc42
    32     configure.compiler  apple-gcc-4.2
    33 }
    34 platform darwin 9 {
    35     configure.compiler  gcc-4.2
     30compiler.blacklist  gcc-4.0
     31
     32# TODO: base should do this: http://trac.macports.org/ticket/32542
     33if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
     34    depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
     35
     36    # base 2.1.x ignores the argument and just use ${configure.compiler}
     37    if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
     38        depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
     39    }
     40
     41    if {[string match macports-gcc* ${configure.compiler}]} {
     42        depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
     43    }
    3644}
    3745
Note: See TracChangeset for help on using the changeset viewer.