Ticket #34416: Portfile.diff

File Portfile.diff, 1000 bytes (added by howarth@…, 13 years ago)

Portfile.diff to avoid including vecLib headers for post-10.7

  • Portfile

    old new  
    66
    77name                    py-scipy
    88version                 0.10.1
     9revision                1
    910categories              python
    1011platforms               darwin
    1112license                 BSD
     
    3940patchfiles              scipy_complex.patch
    4041post-patch {
    4142  reinplace "s|include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/sparse/linalg/dsolve/umfpack/umfpack.i
     43  reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/lib/blas/fblaswrap_veclib_c.c.src
     44  reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/linalg/src/fblaswrap_veclib_c.c
     45  reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c
     46  reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/sparse/linalg/isolve/iterative/FWRAPPERS/veclib_cabi_c.c
    4247}
    4348
    4449variant atlas description "Use MacPorts ATLAS libraries" {