Changeset 140102


Ignore:
Timestamp:
Sep 9, 2015, 9:27:20 PM (4 years ago)
Author:
sean@…
Message:

mumps: update to 5.0.1

Location:
trunk/dports/math/mumps
Files:
1 added
1 deleted
1 edited

Legend:

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

    r130952 r140102  
    66
    77name                mumps
    8 version             4.10.0
     8version             5.0.1
    99categories          math
    1010license             public-domain
     
    2222distname            MUMPS_${version}
    2323
    24 checksums           rmd160  19ae1f4773ab1643237f791085d9721932a618fc \
    25                     sha256  d0f86f91a74c51a17a2ff1be9c9cee2338976f13a6d00896ba5b43a5ca05d933
     24checksums           rmd160  f5a99de1a9ee7e28c6f9fddac0a4852ec660109e \
     25                    sha256  50355b2e67873e2239b4998a46f2bbf83f70cdad6517730ab287ae3aae9340a0
    2626
    2727mpi.setup           require require_fortran
     
    3030
    3131patch.pre_args      -p1
    32 patchfiles-append   metis.patch \
    33                     metis-wgts.patch \
    34                     shared.patch
     32patchfiles-append   patch-shared.diff
    3533
    3634use_parallel_build  no
     
    4543
    4644post-extract {
    47     file copy ${worksrcpath}/Make.inc/Makefile.gfortran.PAR ${worksrcpath}/Makefile.inc
     45    file copy ${worksrcpath}/Make.inc/Makefile.inc.generic ${worksrcpath}/Makefile.inc
    4846    reinplace "s|^\#LMETISDIR.*$|LMETISDIR = ${prefix}/lib|" ${worksrcpath}/Makefile.inc
    4947    reinplace "s|^\#IMETIS.*$|IMETIS = -I${prefix}/include|" ${worksrcpath}/Makefile.inc
     
    5957    reinplace "s|^RANLIB.*$|RANLIB = ranlib -c|" ${worksrcpath}/Makefile.inc
    6058    reinplace "s|^SCALAP.*$|SCALAP = ${prefix}/lib/libscalapack.dylib|" ${worksrcpath}/Makefile.inc
    61     reinplace "s|^INCPAR.*$|INCPAR = |" ${worksrcpath}/Makefile.inc
     59    reinplace "s|^INCPAR.*$|INCPAR = -I\$(topdir)/include|" ${worksrcpath}/Makefile.inc
    6260    reinplace "s|^LIBPAR.*$|LIBPAR = \$(SCALAP)|" ${worksrcpath}/Makefile.inc
    6361    reinplace "s|^LIBBLAS.*$|LIBBLAS = -framework Accelerate|" ${worksrcpath}/Makefile.inc
    64     reinplace "s|inline|static inline|" ${worksrcpath}/include/mumps_compat.h
    6562}
    6663
Note: See TracChangeset for help on using the changeset viewer.