Revision: 122964 https://trac.macports.org/changeset/122964 Author: sean@macports.org Date: 2014-08-02 14:59:27 -0700 (Sat, 02 Aug 2014) Log Message: ----------- slepc: update to 3.5 and change path to not collide with petsc; fixes #44492 Modified Paths: -------------- trunk/dports/math/slepc/Portfile Modified: trunk/dports/math/slepc/Portfile =================================================================== --- trunk/dports/math/slepc/Portfile 2014-08-02 21:59:20 UTC (rev 122963) +++ trunk/dports/math/slepc/Portfile 2014-08-02 21:59:27 UTC (rev 122964) @@ -6,7 +6,7 @@ PortGroup conflicts_build 1.0 PortGroup mpi 1.0 -bitbucket.setup slepc slepc 3.4.4 v +bitbucket.setup slepc slepc 3.5 v categories math science maintainers sean license LGPL @@ -20,13 +20,13 @@ notes "Add the following lines to your .bash_profile if you plan to\ use the PETSC/SLEPC makefile rules in $prefix/lib/petsc/conf:\n\ \texport PETSC_DIR=${prefix}/lib/petsc\n\ - \texport SLEPC_DIR=${prefix}/lib/petsc" + \texport SLEPC_DIR=${prefix}/lib/slepc" platforms darwin universal_variant no -checksums rmd160 f7efe797897974d59a86dceacbefd29fefbeb550 \ - sha256 d738843bb48c11bf3e3395988bdd302d10b2eb6da6981d7b4a119477e524f87b +checksums rmd160 e4a5f50e76ac57446d95cbfd9b72bfd520b8df4b \ + sha256 f5fe1612fea623dd49149c08787c342196fd45bde376c543b9f31fe63013cf3f mpi.setup mpi.enforce_variant petsc @@ -35,10 +35,12 @@ conflicts_build slepc use_parallel_build no -configure.args --prefix=${prefix}/lib/petsc -build.env-append PETSC_DIR=${prefix}/lib/petsc PETSC_ARCH=arch-installed-petsc SLEPC_DIR=${worksrcpath} -destroot.env-append PETSC_DIR=${prefix}/lib/petsc PETSC_ARCH=arch-installed-petsc SLEPC_DIR=${worksrcpath} -destroot.cmd-append SLEPC_DESTDIR=${destroot}${prefix}/lib/petsc +configure.args --prefix=${prefix}/lib/slepc +configure.env-append \ + PETSC_DIR=${prefix}/lib/petsc +build.env-append PETSC_DIR=${prefix}/lib/petsc +destroot.env-append PETSC_DIR=${prefix}/lib/petsc +destroot.cmd-append SLEPC_DESTDIR=${destroot}${prefix}/lib/slepc variant arpack description {compile with ARPACK support} { mpi.enforce_variant arpack @@ -57,5 +59,6 @@ # fix install name post-destroot { - system "install_name_tool -id ${prefix}/lib/petsc/lib/libslepc.dylib ${destroot}${prefix}/lib/petsc/lib/libslepc.dylib" + system "install_name_tool -id ${prefix}/lib/slepc/lib/libslepc.dylib ${destroot}${prefix}/lib/slepc/lib/libslepc.dylib" + reinplace -W ${destroot}${prefix}/lib/slepc/conf "s,${destroot},,g" slepc_variables slepc_rules }