Changeset 53223


Ignore:
Timestamp:
Jul 1, 2009, 1:12:21 PM (10 years ago)
Author:
mmoll@…
Message:

arpack: made gcc43 the default variant, following the discussion in r20103. Added gcc44 variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/arpack/Portfile

    r37223 r53223  
    3030}
    3131
    32 variant gcc42 description {build with gfortran-mp-4.2} conflicts gcc43 g95 {
     32variant gcc42 description {build with gfortran-mp-4.2} conflicts gcc43 gcc44 g95 {
    3333        build.args-append       FC=${prefix}/bin/gfortran-mp-4.2
    3434        depends_build-append    port:gcc42
    3535}
    3636
    37 variant gcc43 description {build with gfortran-mp-4.3} conflicts gcc42 g95 {
     37variant gcc43 description {build with gfortran-mp-4.3} conflicts gcc42 gcc44 g95 {
    3838        build.args-append       FC=${prefix}/bin/gfortran-mp-4.3
    3939        depends_build-append    port:gcc43
    4040}
    4141
    42 variant g95 description {build with g95} conflicts gcc42 gcc43 {
     42variant gcc44 description {build with gfortran-mp-4.3} conflicts gcc42 gcc43 g95 {
     43        build.args-append       FC=${prefix}/bin/gfortran-mp-4.3
     44        depends_build-append    port:gcc43
     45}
     46
     47variant g95 description {build with g95} conflicts gcc42 gcc43 gcc44 {
    4348        build.args-append       FC=${prefix}/bin/g95
    4449        depends_build-append    port:g95
     
    5156        pre-fetch {     
    5257           if {![file exists ${prefix}/bin/openmpif77]} {
    53              return -code error "Please install one of the following variants of the openmpi port: gcc42, gcc43, g95."
     58             return -code error "Please install one of the following variants of the openmpi port: gcc42, gcc43, gcc44, g95."
    5459           }
    5560        }
     
    6671}
    6772
    68 if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset g95] } {
    69         default_variants      +gcc42
     73if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95] } {
     74        default_variants      +gcc43
    7075}
Note: See TracChangeset for help on using the changeset viewer.