Changeset 108870


Ignore:
Timestamp:
Aug 4, 2013, 6:18:37 AM (7 years ago)
Author:
jeremyhu@…
Message:

multiple: Remove compiler dependency block that is not needed with base 2.2 (#32542).

If anyone is still on an older base, the workaround is trivial (install the missing compiler).

Location:
trunk/dports
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/ld64/Portfile

    r107918 r108870  
    125125compiler.blacklist gcc-4.0
    126126
    127 # TODO: base should do this: http://trac.macports.org/ticket/32542
    128 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    129     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    130 
    131     # base 2.1.x ignores the argument and just use ${configure.compiler}
    132     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    133         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    134     }
    135 
    136     if {[string match macports-gcc* ${configure.compiler}]} {
    137         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    138     }
    139 }
    140 
    141127post-extract {
    142128    file copy ${filespath}/${makefile} ${worksrcpath}/Makefile
  • trunk/dports/devel/ppl/Portfile

    r106112 r108870  
    4646compiler.fallback-append apple-gcc-4.2
    4747
    48 # TODO: base should do this: http://trac.macports.org/ticket/32542
    49 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    50     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    51 
    52     # base 2.1.x ignores the argument and just use ${configure.compiler}
    53     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    54         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    55     }
    56 
    57     if {[string match macports-gcc* ${configure.compiler}]} {
    58         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    59     }
    60 }
    61 
    6248if { [string match "*clang*" ${configure.compiler}] || [string match "*llvm*" ${configure.compiler}] } {
    6349    # As of 'ppl-0.12.1', we need to be careful about use of the '--enable-fpmath' flag!
  • trunk/dports/devel/smake/Portfile

    r106428 r108870  
    2727compiler.blacklist-append llvm-gcc-4.2 {clang < 318}
    2828
    29 # TODO: base should do this: http://trac.macports.org/ticket/32542
    30 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    31     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    32 
    33     # base 2.1.x ignores the argument and just use ${configure.compiler}
    34     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    35         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    36     }
    37 
    38     if {[string match macports-gcc* ${configure.compiler}]} {
    39         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    40     }
    41 }
    42 
    4329build.type              gnu
    4430build.args      CC=${configure.cc}
  • trunk/dports/gnustep/gnustep-make/Portfile

    r102253 r108870  
    2929
    3030compiler.blacklist  gcc-4.0
    31 
    32 # TODO: base should do this: http://trac.macports.org/ticket/32542
    33 if {[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     }
    44 }
    4531
    4632configure.args      CC=${configure.cc} \
  • trunk/dports/graphics/opencv/Portfile

    r107771 r108870  
    116116compiler.blacklist-append   {clang < 318}
    117117
    118 # TODO: base should do this: http://trac.macports.org/ticket/32542
    119 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    120     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    121 
    122     # base 2.1.x ignores the argument and just use ${configure.compiler}
    123     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    124         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    125     }
    126 
    127     if {[string match macports-gcc* ${configure.compiler}]} {
    128         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    129     }
    130 }
    131 
    132118# PCH broken when universal
    133119if {[variant_isset universal]} {
  • trunk/dports/lang/dragonegg-3.0/Portfile

    r108375 r108870  
    104104compiler.blacklist gcc-4.0
    105105
    106 # TODO: base should do this: http://trac.macports.org/ticket/32542
    107 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    108     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    109 
    110     # base 2.1.x ignores the argument and just use ${configure.compiler}
    111     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    112         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    113     }
    114 
    115     if {[string match macports-gcc* ${configure.compiler}]} {
    116         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    117     }
    118 }
    119 
    120106patchfiles revision.patch missing-includes.patch
    121107
  • trunk/dports/lang/dragonegg-3.1/Portfile

    r108375 r108870  
    110110compiler.blacklist gcc-4.0
    111111
    112 # TODO: base should do this: http://trac.macports.org/ticket/32542
    113 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    114     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    115 
    116     # base 2.1.x ignores the argument and just use ${configure.compiler}
    117     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    118         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    119     }
    120 
    121     if {[string match macports-gcc* ${configure.compiler}]} {
    122         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    123     }
    124 }
    125 
    126112patchfiles missing-includes.patch cstring.patch
    127113
  • trunk/dports/lang/dragonegg-3.2/Portfile

    r108375 r108870  
    110110compiler.blacklist gcc-4.0
    111111
    112 # TODO: base should do this: http://trac.macports.org/ticket/32542
    113 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    114     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    115 
    116     # base 2.1.x ignores the argument and just use ${configure.compiler}
    117     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    118         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    119     }
    120 
    121     if {[string match macports-gcc* ${configure.compiler}]} {
    122         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    123     }
    124 }
    125 
    126112patchfiles missing-includes.patch
    127113
  • trunk/dports/lang/dragonegg-3.3/Portfile

    r108375 r108870  
    104104compiler.blacklist gcc-4.0
    105105
    106 # TODO: base should do this: http://trac.macports.org/ticket/32542
    107 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    108     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    109 
    110     # base 2.1.x ignores the argument and just use ${configure.compiler}
    111     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    112         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    113     }
    114 
    115     if {[string match macports-gcc* ${configure.compiler}]} {
    116         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    117     }
    118 }
    119 
    120106patchfiles missing-includes.patch
    121107
  • trunk/dports/lang/dragonegg-3.4/Portfile

    r108375 r108870  
    109109compiler.blacklist gcc-4.0
    110110
    111 # TODO: base should do this: http://trac.macports.org/ticket/32542
    112 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    113     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    114 
    115     # base 2.1.x ignores the argument and just use ${configure.compiler}
    116     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    117         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    118     }
    119 
    120     if {[string match macports-gcc* ${configure.compiler}]} {
    121         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    122     }
    123 }
    124 
    125111patchfiles missing-includes.patch
    126112
  • trunk/dports/lang/gprolog/Portfile

    r105526 r108870  
    5050compiler.blacklist-append  llvm-gcc-4.2 macports-llvm-gcc-4.2
    5151
    52 # TODO: base should do this: http://trac.macports.org/ticket/32542
    53 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    54     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    55 
    56     # base 2.1.x ignores the argument and just use ${configure.compiler}
    57     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    58         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    59     }
    60 
    61     if {[string match macports-gcc* ${configure.compiler}]} {
    62         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    63     }
    64 }
    65 
    6652post-destroot   {
    6753        foreach cmd {fd2c gplc gprolog hexgplc ma2asm pl2wam wam2ma} {
  • trunk/dports/lang/llvm-2.9/Portfile

    r107898 r108870  
    134134compiler.blacklist gcc-4.0
    135135
    136 # TODO: base should do this: http://trac.macports.org/ticket/32542
    137 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    138     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    139 
    140     # base 2.1.x ignores the argument and just use ${configure.compiler}
    141     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    142         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    143     }
    144 
    145     if {[string match macports-gcc* ${configure.compiler}]} {
    146         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    147     }
    148 }
    149 
    150136variant universal {
    151137    build.env-append \
  • trunk/dports/lang/llvm-3.0/Portfile

    r108565 r108870  
    132132compiler.blacklist gcc-4.0
    133133
    134 # TODO: base should do this: http://trac.macports.org/ticket/32542
    135 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    136     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    137 
    138     # base 2.1.x ignores the argument and just use ${configure.compiler}
    139     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    140         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    141     }
    142 
    143     if {[string match macports-gcc* ${configure.compiler}]} {
    144         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    145     }
    146 }
    147 
    148134variant universal {
    149135    build.env-append \
  • trunk/dports/lang/llvm-3.1/Portfile

    r108565 r108870  
    136136compiler.blacklist gcc-4.0
    137137
    138 # TODO: base should do this: http://trac.macports.org/ticket/32542
    139 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    140     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    141 
    142     # base 2.1.x ignores the argument and just use ${configure.compiler}
    143     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    144         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    145     }
    146 
    147     if {[string match macports-gcc* ${configure.compiler}]} {
    148         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    149     }
    150 }
    151 
    152138variant universal {
    153139    build.env-append \
  • trunk/dports/lang/llvm-3.2/Portfile

    r108619 r108870  
    137137compiler.blacklist gcc-4.0
    138138
    139 # TODO: base should do this: http://trac.macports.org/ticket/32542
    140 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    141     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    142 
    143     # base 2.1.x ignores the argument and just use ${configure.compiler}
    144     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    145         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    146     }
    147 
    148     if {[string match macports-gcc* ${configure.compiler}]} {
    149         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    150     }
    151 }
    152 
    153139variant universal {
    154140    build.env-append \
  • trunk/dports/lang/llvm-3.3/Portfile

    r108618 r108870  
    124124compiler.blacklist gcc-4.0
    125125
    126 # TODO: base should do this: http://trac.macports.org/ticket/32542
    127 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    128     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    129 
    130     # base 2.1.x ignores the argument and just use ${configure.compiler}
    131     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    132         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    133     }
    134 
    135     if {[string match macports-gcc* ${configure.compiler}]} {
    136         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    137     }
    138 }
    139 
    140126variant universal {
    141127    build.env-append \
  • trunk/dports/lang/llvm-3.4/Portfile

    r108618 r108870  
    111111compiler.blacklist gcc-4.0
    112112
    113 # TODO: base should do this: http://trac.macports.org/ticket/32542
    114 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    115     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    116 
    117     # base 2.1.x ignores the argument and just use ${configure.compiler}
    118     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    119         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    120     }
    121 
    122     if {[string match macports-gcc* ${configure.compiler}]} {
    123         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    124     }
    125 }
    126 
    127113variant universal {
    128114    build.env-append \
  • trunk/dports/lang/ruby/Portfile

    r107472 r108870  
    8484# TODO: When was this last verified?  Is there a ticket open? Radar?
    8585compiler.blacklist-append llvm-gcc-4.2 macports-llvm-gcc-4.2 {clang  < 211}
    86 
    87 # TODO: base should do this: http://trac.macports.org/ticket/32542
    88 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    89     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    90 
    91     # base 2.1.x ignores the argument and just use ${configure.compiler}
    92     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    93         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    94     }
    95 
    96     if {[string match macports-gcc* ${configure.compiler}]} {
    97         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    98     }
    99 }
    10086
    10187if {[string match *clang* ${configure.compiler}]} {
  • trunk/dports/multimedia/MPlayer/Portfile

    r106253 r108870  
    275275compiler.blacklist-append gcc-3.3 {gcc-4.0 < 5493} llvm-gcc-4.2 macports-llvm-gcc-4.2
    276276
    277 # TODO: base should do this: http://trac.macports.org/ticket/32542
    278 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    279     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    280 
    281     # base 2.1.x ignores the argument and just use ${configure.compiler}
    282     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    283         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    284     }
    285 
    286     if {[string match macports-gcc* ${configure.compiler}]} {
    287         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    288     }
    289 }
    290 
    291277platform darwin 8 {
    292278    depends_build-append port:gmake
  • trunk/dports/multimedia/VLC/Portfile

    r106711 r108870  
    9595    # Switch to the blacklist once base 2.2 is out: https://trac.macports.org/ticket/37830
    9696    #compiler.blacklist gcc-4.0 gcc-4.2 llvm-gcc-4.2 apple-gcc-4.2 macports-llvm-gcc-4.2
    97     compiler.whitelist clang macports-clang-3.2
    98 }
    99 
    100 # TODO: base should do this: http://trac.macports.org/ticket/32542
    101 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    102     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    103 
    104     # base 2.1.x ignores the argument and just use ${configure.compiler}
    105     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    106         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    107     }
    108 
    109     if {[string match macports-gcc* ${configure.compiler}]} {
    110         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    111     }
     97    compiler.whitelist clang macports-clang-3.3
    11298}
    11399
  • trunk/dports/multimedia/ffmpeg/Portfile

    r108649 r108870  
    9898}
    9999
    100 # TODO: base should do this: http://trac.macports.org/ticket/32542
    101 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    102     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    103 
    104     # base 2.1.x ignores the argument and just use ${configure.compiler}
    105     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    106         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    107     }
    108 
    109     if {[string match macports-gcc* ${configure.compiler}]} {
    110         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    111     }
    112 }
    113 
    114100# And similarly, disable asm on Tiger
    115101# libblueray doesn't build on Tiger so disable for now (#39442)
  • trunk/dports/multimedia/mplayer-devel/Portfile

    r108613 r108870  
    285285compiler.blacklist-append gcc-3.3 {gcc-4.0 < 5493} llvm-gcc-4.2 macports-llvm-gcc-4.2
    286286
    287 # TODO: base should do this: http://trac.macports.org/ticket/32542
    288 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    289     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    290 
    291     # base 2.1.x ignores the argument and just use ${configure.compiler}
    292     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    293         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    294     }
    295 
    296     if {[string match macports-gcc* ${configure.compiler}]} {
    297         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    298     }
    299 }
    300 
    301287platform darwin 8 {
    302288    depends_build-append port:gmake
  • trunk/dports/x11/xorg-xcb-util/Portfile

    r102174 r108870  
    2727compiler.blacklist gcc-4.0
    2828
    29 # TODO: base should do this: http://trac.macports.org/ticket/32542
    30 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {
    31     depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})
    32 
    33     # base 2.1.x ignores the argument and just use ${configure.compiler}
    34     if {[portconfigure::arch_flag_supported ${configure.compiler}]} {
    35         depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})
    36     }
    37 
    38     if {[string match macports-gcc* ${configure.compiler}]} {
    39         depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})
    40     }
    41 }
    42 
    4329livecheck.type  regex
    4430livecheck.url   ${master_sites}?C=M&O=D
Note: See TracChangeset for help on using the changeset viewer.