Ignore:
Timestamp:
Feb 4, 2008, 12:51:42 AM (12 years ago)
Author:
ram@…
Message:

numpy/scipy: readd g95 and gcc42 variants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-numpy/Portfile

    r33616 r33718  
    2323patchfiles              patch-g95_link.diff
    2424
    25 depends_lib-append      port:gcc42 \
    26                         port:fftw-3
     25depends_lib-append      port:fftw-3
    2726
    2827post-patch {
     
    3029}
    3130
    32 build.cmd-append        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
     31variant g95 conflicts gcc42 description "Use g95 as fortran compiler" {
     32  depends_lib-append    port:g95
     33  build.cmd-append      "config_fc --fcompiler g95 --f77exec ${prefix}/bin/g95 --f90exec ${prefix}/bin/g95"
     34}
     35
     36variant gcc42 conflicts g95 description "Use gfortran-mp-4.2 as fortran compiler" {
     37  depends_lib-append    port:gcc42
     38  build.cmd-append      "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"
     39}
     40
     41if { ![variant_isset g95] && ![variant_isset gcc42] } {
     42  default_variants      +g95
     43}
Note: See TracChangeset for help on using the changeset viewer.