[153384] trunk/dports/math/sundials/Portfile
sean at macports.org
sean at macports.org
Thu Sep 29 11:53:41 PDT 2016
Revision: 153384
https://trac.macports.org/changeset/153384
Author: sean at macports.org
Date: 2016-09-29 11:53:41 -0700 (Thu, 29 Sep 2016)
Log Message:
-----------
sundials: fix layout violation; closes #51964
Modified Paths:
--------------
trunk/dports/math/sundials/Portfile
Modified: trunk/dports/math/sundials/Portfile
===================================================================
--- trunk/dports/math/sundials/Portfile 2016-09-29 18:47:01 UTC (rev 153383)
+++ trunk/dports/math/sundials/Portfile 2016-09-29 18:53:41 UTC (rev 153384)
@@ -7,6 +7,7 @@
name sundials
version 2.6.2
+revision 1
categories math devel
license bsd
platforms darwin
@@ -46,6 +47,20 @@
file mkdir ${worksrcpath}/build
}
+pre-configure {
+ if {[mpi_variant_isset]} {
+ configure.args-delete -DMPI_ENABLE=OFF
+ configure.args-append -DMPI_ENABLE=ON \
+ -DMPI_MPICC=${prefix}/bin/${mpi.cc} \
+ -DMPI_RUN_COMMAND=${prefix}/bin/${mpi.exec}
+ }
+}
+
+post-destroot {
+ xinstall -d ${destroot}${prefix}/share/examples
+ move ${destroot}${prefix}/examples ${destroot}${prefix}/share/examples/${name}
+}
+
if {![mpi_variant_isset]} {
default_variants +mpich
}
@@ -71,15 +86,6 @@
}
}
-pre-configure {
- if {[mpi_variant_isset]} {
- configure.args-delete -DMPI_ENABLE=OFF
- configure.args-append -DMPI_ENABLE=ON \
- -DMPI_MPICC=${prefix}/bin/${mpi.cc} \
- -DMPI_RUN_COMMAND=${prefix}/bin/${mpi.exec}
- }
-}
-
variant atlas description {build with atlas (requires a fortran compiler)} {
depends_lib-append port:atlas
configure.args-append -DLAPACK_LIBRARIES=${prefix}/lib/libtatlas.dylib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160929/7ac355b2/attachment-0001.html>
More information about the macports-changes
mailing list