Ticket #32668: fftw-3-gcc46.diff

File fftw-3-gcc46.diff, 2.4 KB (added by miles@…, 13 years ago)
  • Portfile

    old new  
    7676  }
    7777}
    7878
    79 variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 gcc44 gcc45 g95 {
     79variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 gcc44 gcc45 gcc46 g95 {
    8080    depends_lib-append    port:gcc42
    8181    depends_skip_archcheck gcc42
    8282    configure.f77         gfortran-mp-4.2
     
    9090    }
    9191}
    9292
    93 variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 gcc44 gcc45 g95 {
     93variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 gcc44 gcc45 gcc46 g95 {
    9494    depends_lib-append    port:gcc43
    9595    depends_skip_archcheck gcc43
    9696    configure.f77         gfortran-mp-4.3
     
    104104    }
    105105}
    106106
    107 variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc42 gcc43 gcc45 g95 {
     107variant gcc44 description {create Fortran wrappers using gcc44} conflicts gcc42 gcc43 gcc45 gcc46 g95 {
    108108    depends_lib-append    port:gcc44
    109109    depends_skip_archcheck gcc44
    110110    configure.f77         gfortran-mp-4.4
     
    118118    }
    119119}
    120120
    121 variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc42 gcc43 gcc44 g95 {
     121variant gcc45 description {create Fortran wrappers using gcc45} conflicts gcc42 gcc43 gcc44 gcc46 g95 {
    122122    depends_lib-append    port:gcc45
    123123    depends_skip_archcheck gcc45
    124124    configure.f77         gfortran-mp-4.5
     
    132132    }
    133133}
    134134
    135 variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 gcc44 gcc45 {
     135variant gcc46 description {create Fortran wrappers using gcc46} conflicts gcc42 gcc43 gcc44 gcc45 g95 {
     136    depends_lib-append    port:gcc46
     137    depends_skip_archcheck gcc46
     138    configure.f77         gfortran-mp-4.6
     139    configure.args-delete --disable-fortran
     140    if { ${os.arch} == "i386" } {
     141        lappend merger_configure_args(ppc)     "--disable-fortran"
     142        lappend merger_configure_args(ppc64)   "--disable-fortran"
     143    } else {
     144        lappend merger_configure_args(i386)    "--disable-fortran"
     145        lappend merger_configure_args(x86_64)  "--disable-fortran"
     146    }
     147}
     148
     149variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 gcc44 gcc45 gcc46 {
    136150    depends_lib-append    port:g95
    137151    depends_skip_archcheck g95
    138152    configure.f77         g95