Ignore:
Timestamp:
Aug 2, 2014, 9:59:27 PM (6 years ago)
Author:
sean@…
Message:

slepc: update to 3.5 and change path to not collide with petsc; fixes #44492

File:
1 edited

Legend:

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

    r122963 r122964  
    77PortGroup           mpi 1.0
    88
    9 bitbucket.setup     slepc slepc 3.4.4 v
     9bitbucket.setup     slepc slepc 3.5 v
    1010categories          math science
    1111maintainers         sean
     
    2121                    use the PETSC/SLEPC makefile rules in $prefix/lib/petsc/conf:\n\
    2222                    \texport PETSC_DIR=${prefix}/lib/petsc\n\
    23                     \texport SLEPC_DIR=${prefix}/lib/petsc"
     23                    \texport SLEPC_DIR=${prefix}/lib/slepc"
    2424
    2525platforms           darwin
    2626universal_variant   no
    2727
    28 checksums           rmd160  f7efe797897974d59a86dceacbefd29fefbeb550 \
    29                     sha256  d738843bb48c11bf3e3395988bdd302d10b2eb6da6981d7b4a119477e524f87b
     28checksums           rmd160  e4a5f50e76ac57446d95cbfd9b72bfd520b8df4b \
     29                    sha256  f5fe1612fea623dd49149c08787c342196fd45bde376c543b9f31fe63013cf3f
    3030
    3131mpi.setup
     
    3636use_parallel_build  no
    3737
    38 configure.args      --prefix=${prefix}/lib/petsc
    39 build.env-append    PETSC_DIR=${prefix}/lib/petsc PETSC_ARCH=arch-installed-petsc SLEPC_DIR=${worksrcpath}
    40 destroot.env-append PETSC_DIR=${prefix}/lib/petsc PETSC_ARCH=arch-installed-petsc SLEPC_DIR=${worksrcpath}
    41 destroot.cmd-append SLEPC_DESTDIR=${destroot}${prefix}/lib/petsc
     38configure.args      --prefix=${prefix}/lib/slepc
     39configure.env-append \
     40                    PETSC_DIR=${prefix}/lib/petsc
     41build.env-append    PETSC_DIR=${prefix}/lib/petsc
     42destroot.env-append PETSC_DIR=${prefix}/lib/petsc
     43destroot.cmd-append SLEPC_DESTDIR=${destroot}${prefix}/lib/slepc
    4244
    4345variant arpack description {compile with ARPACK support} {
     
    5860# fix install name
    5961post-destroot {
    60     system "install_name_tool -id ${prefix}/lib/petsc/lib/libslepc.dylib ${destroot}${prefix}/lib/petsc/lib/libslepc.dylib"
     62    system "install_name_tool -id ${prefix}/lib/slepc/lib/libslepc.dylib ${destroot}${prefix}/lib/slepc/lib/libslepc.dylib"
     63    reinplace -W ${destroot}${prefix}/lib/slepc/conf "s,${destroot},,g" slepc_variables slepc_rules
    6164}
Note: See TracChangeset for help on using the changeset viewer.