Changeset 112002


Ignore:
Timestamp:
Oct 9, 2013, 3:07:06 AM (6 years ago)
Author:
jmr@…
Message:

junkbuster: remove dependency on deleted apple-gcc33 port, simplify compiler selection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/junkbuster/Portfile

    r111997 r112002  
    3636startupitem.executable ${prefix}/sbin/junkbuster
    3737
     38platform darwin powerpc {
     39        configure.compiler      gcc-3.3
     40}
    3841
    3942pre-patch {
     
    5861post-patch {
    5962        reinplace "s%__PREFIX%${prefix}%g" ${worksrcpath}/junkbstr.ini
     63        reinplace "s|^CC.*|CC=${configure.cc}|g" ${worksrcpath}/Makefile
    6064}
    6165
     
    113117        }
    114118}
    115 
    116 platform darwin 8 powerpc {
    117         post-patch { reinplace "s|^CC.*|CC=/usr/bin/gcc-3.3|g" ${worksrcpath}/Makefile }
    118 }
    119 
    120 platform darwin 8 i386 {
    121         depends_build-append port:apple-gcc33
    122         post-patch { reinplace "s|^CC.*|CC=${prefix}/bin/gcc-apple-3.3|g" ${worksrcpath}/Makefile }
    123 }
    124 
    125 platform darwin 9 powerpc {
    126         post-patch { reinplace "s|^CC.*|CC=/usr/bin/gcc-3.3|g" ${worksrcpath}/Makefile }
    127 }
    128 
    129 platform darwin 9 i386 {
    130         depends_build-append port:apple-gcc33
    131         post-patch { reinplace "s|^CC.*|CC=${prefix}/bin/gcc-apple-3.3|g" ${worksrcpath}/Makefile }
    132 }
Note: See TracChangeset for help on using the changeset viewer.