Ticket #22461: Portfile.2.diff

File Portfile.2.diff, 1.3 KB (added by numaryu, 14 years ago)
  • Portfile

    old new  
    3636
    3737use_parallel_build  no
    3838
    39 variant g95 description {Enable Fortran 77 and Fortran 90 bindings using g95} conflicts gfortran {
     39variant g95 description {Enable Fortran 77 and Fortran 90 bindings using g95} conflicts gcc42 gcc43 {
    4040   depends_lib-append      port:g95
    4141   configure.f77           "${prefix}/bin/g95"
    4242   configure.fflags        "-i4"
     
    4545   configure.args-append   --enable-f77 --enable-f90
    4646}
    4747
    48 variant gfortran description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 {
    49    depends_lib-append   port:gcc43
    50    configure.f77        "${prefix}/bin/gfortran-mp-4.3"
    51    configure.f90        "${prefix}/bin/gfortran-mp-4.3"
     48variant gcc43 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 gcc42 {
     49   depends_lib-append    port:gcc43
     50   configure.compiler    macports-gcc-4.3
     51   configure.args-append   --enable-f77 --enable-f90
     52}
     53
     54variant gcc42 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc42} conflicts g95 gcc43 {
     55   depends_lib-append    port:gcc42
     56   configure.compiler    macports-gcc-4.2
    5257   configure.args-append   --enable-f77 --enable-f90
    5358}
    5459