Ticket #27671: Portfile.patch

File Portfile.patch, 1.6 KB (added by florian@…, 14 years ago)
  • /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/pgplot/Portfile

    old new  
    209209    }
    210210}
    211211
    212 variant gcc42 description {build with gfortran from gcc42} conflicts gcc43 gcc44 g95 {
    213     depends_lib-append  port:gcc42
    214     configure.fc  ${prefix}/bin/gfortran-mp-4.2
    215 }
    216 
    217 variant gcc43 description {build with gfortran from gcc43} conflicts gcc42 gcc44 g95 {
     212variant gcc43 description {build with gfortran from gcc43} conflicts gcc45 gcc44 g95 {
    218213    depends_lib-append  port:gcc43
    219214    configure.fc  ${prefix}/bin/gfortran-mp-4.3
    220215}
    221216
    222 variant gcc44 description {build with gfortran from gcc44} conflicts gcc42 gcc43 g95 {
     217variant gcc44 description {build with gfortran from gcc44} conflicts gcc45 gcc43 g95 {
    223218    depends_lib-append  port:gcc44
    224219    configure.fc  ${prefix}/bin/gfortran-mp-4.4
    225220}
    226221
    227 variant g95 description {build with g95} conflicts gcc42 gcc43 gcc44 {
     222variant gcc45 description {build with gfortran from gcc45} conflicts gcc43 gcc44 g95 {
     223    depends_lib-append  port:gcc45
     224    configure.fc  ${prefix}/bin/gfortran-mp-4.2
     225}
     226
     227variant g95 description {build with g95} conflicts gcc45 gcc43 gcc44 {
    228228    depends_lib-append  port:g95
    229229    configure.fc  ${prefix}/bin/g95
    230230}
    231231
    232 if {![variant_isset g95] && ![variant_isset gcc42] && ![variant_isset gcc43]} {
    233     default_variants +gcc44
     232if {![variant_isset g95] && ![variant_isset gcc44] && ![variant_isset gcc43]} {
     233    default_variants +gcc45
    234234}
    235235
    236236variant docs description {Create and install docs} {