Ticket #15588: Portfile.add-arpack.patch

File Portfile.add-arpack.patch, 676 bytes (added by demianw@…, 16 years ago)
  • Portfile

     
    3535  reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/linsolve/umfpack/umfpack.i
    3636}
    3737
     38variant arpack {
     39  post-patch {
     40    set file [ open ${worksrcpath}/scipy/sandbox/enabled_packages.txt a ]
     41    puts $file arpack
     42    close $file
     43  }
     44}
     45
    3846variant gcc42 conflicts gcc43 description "Use gfortran-mp-4.2 as fortran compiler" {
    3947  depends_lib-append    port:gcc42
    4048  set fc_options        "config_fc --fcompiler gnu95 --f77exec ${prefix}/bin/gfortran-mp-4.2 --f90exec ${prefix}/bin/gfortran-mp-4.2"