Ticket #35020: Portfile.diff

File Portfile.diff, 1.9 KB (added by zan@…, 12 years ago)

Unified diff of Portfile

  • Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 93189 2012-05-17 14:16:12Z ram@macports.org $
     2# $Id$
    33
    44PortSystem              1.0
    55PortGroup               python 1.0
    66
    77name                    py-scipy
    88version                 0.10.1
    9 revision                1
     9revision                                2
    1010categories              python
    1111platforms               darwin
    1212license                 BSD
     
    3333
    3434worksrcdir              ${distname}
    3535
     36build.cmd-delete                --no-user-cfg
    3637build.env-append        CCFLAGS="-I${prefix}/include -L${prefix}/lib"
    3738
    3839destroot.env-append     CCFLAGS="-I${prefix}/include -L${prefix}/lib"
    3940
    40 patchfiles              scipy_complex.patch
     41patchfiles              scipy_complex.patch \
     42                                                umfpack_extra_libs.patch
     43
    4144post-patch {
    42   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|@@PREFIX@@|${prefix}|g" ${worksrcpath}/site.cfg
     46  reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/lib/blas/fblaswrap_veclib_c.c.src 
     47  reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/linalg/src/fblaswrap_veclib_c.c 
    4548  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
     49  reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/sparse/linalg/isolve/iterative/FWRAPPERS/veclib_cabi_c.c 
    4750}
    4851
    4952variant atlas description "Use MacPorts ATLAS libraries" {