Changeset 21844 for trunk/dports/math


Ignore:
Timestamp:
Feb 9, 2007, 8:41:26 PM (13 years ago)
Author:
pipping@…
Message:
  • add patches (now build flawlessly)
  • upgrade to 2.4.0

submitted by namely_void@… (#11362) - wonderful.

Location:
trunk/dports/math/SuiteSparse
Files:
3 added
1 edited

Legend:

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

    r21802 r21844  
    33PortSystem 1.0
    44name            SuiteSparse
    5 version         2.1.1
    6 revision        0
     5version         2.4.0
    76categories      math science
    87maintainers     andre@splunk.com
     
    1615master_sites    http://www.cise.ufl.edu/research/sparse/SuiteSparse/
    1716distname        SuiteSparse-$version
     17worksrcdir      ${portname}
    1818
    1919depends_build   port:metis
    2020
    21 checksums       md5 bc01ef2f26e6ad3eed83b4ad62e46a68
     21checksums       md5 30233f0b42e9ea12e47a287f0f50fe47
     22
     23patchfiles      patch-config \
     24                patch-macports-metis
    2225
    2326use_configure   no
    2427
    2528pre-configure   {
    26                 reinplace "s,#define SIZE_T_MAX ((size_t) (-1)),," ${worksrcpath}/AMD/Include/amd_internal.h
    27                 reinplace "s,#define SIZE_T_MAX ((size_t) (-1)),," ${worksrcpath}/CAMD/Include/camd_internal.h
    2829                reinplace "s,METIS_PATH = ../../metis-4.0,METIS_PATH = ${prefix}/include," ${worksrcpath}/UFconfig/UFconfig.mk
    2930                reinplace "s,METIS = ../../metis-4.0/libmetis.a,METIS = ${prefix}/lib/libmetis.a," ${worksrcpath}/UFconfig/UFconfig.mk
    30                 reinplace "s,BLAS = -lgoto -lgfortran,BLAS = -L${prefix}/lib -lblas," ${worksrcpath}/UFconfig/UFconfig.mk
    31                 reinplace "s,-I\$(METIS_PATH)/Lib,-I\$(METIS_PATH)," ${worksrcpath}/CHOLMOD/Lib/Makefile
    32                 reinplace "s,f77,gfortran-dp-4.2," ${worksrcpath}/CXSparse/Demo/Makefile
    33                 reinplace "s,( cd metis-4.0 ; \$(MAKE) ),# ( cd metis-4.0 ; \$(MAKE) )," ${worksrcpath}/Makefile
    34                 reinplace "s,#include \"metis.h\",#include \"metis/metis.h\"," ${worksrcpath}/CHOLMOD/Partition/cholmod_metis.c
    3531}
    3632
Note: See TracChangeset for help on using the changeset viewer.