[84869] trunk/dports/math/petsc/Portfile
mmoll at macports.org
mmoll at macports.org
Mon Oct 3 11:36:20 PDT 2011
Revision: 84869
http://trac.macports.org/changeset/84869
Author: mmoll at macports.org
Date: 2011-10-03 11:36:20 -0700 (Mon, 03 Oct 2011)
Log Message:
-----------
math/petsc: bump version to 3.2-p3, slight tweaks in build, hopefully this will fix #27223
Modified Paths:
--------------
trunk/dports/math/petsc/Portfile
Modified: trunk/dports/math/petsc/Portfile
===================================================================
--- trunk/dports/math/petsc/Portfile 2011-10-03 18:35:53 UTC (rev 84868)
+++ trunk/dports/math/petsc/Portfile 2011-10-03 18:36:20 UTC (rev 84869)
@@ -3,7 +3,7 @@
PortSystem 1.0
name petsc
-version 3.1-p8
+version 3.2-p3
categories math science
maintainers mmoll
description Portable, Extensible Toolkit for Scientific Computation
@@ -23,15 +23,16 @@
distname ${name}-lite-${version}
worksrcdir ${name}-${version}
universal_variant no
-checksums md5 1cec4fcf3abe2eb8b10cd21a78a3407e \
- sha1 9610e22a65cb01225848f847f661235810befb12 \
- rmd160 061aff6d26a9d65bd9231fef204755598cb8dc5d
+checksums md5 bcb168f81e02a09a07baf7cac4965222 \
+ sha1 8d80cc6854173c05be3bf20b46848c8eb6fee6fa \
+ rmd160 6fe7bb28c895a22a6b39f63370f69611ba132677
+depends_build-append port:cmake
depends_lib-append port:openmpi
configure.args --with-python --with-debugging=0 \
--with-c-support=1 --with-c++-support=1 --with-pic=fPIC \
- --with-shared=0 --PETSC_ARCH=darwin \
+ --with-shared-libraries=0 --with-mpi=1 --PETSC_ARCH=darwin \
--prefix=${destroot}${prefix}/lib/petsc \
--with-cc=${prefix}/bin/openmpicc \
--with-cxx=${prefix}/bin/openmpicxx \
@@ -39,6 +40,7 @@
--with-fc=${prefix}/bin/openmpif90 \
--LDFLAGS=-lstdc++
+destroot.destdir DESTDIR=${destroot}${prefix}/lib/petsc
post-destroot {
reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${prefix}/lib/petsc/conf/RDict.db \
${destroot}${prefix}/lib/petsc/conf/petscrules \
@@ -61,8 +63,7 @@
# }
variant hdf5 description {build with support for HDF5 file format} {
- configure.args-append --with-hdf5=1 --with-hdf5-dir=${prefix} \
- --LIBS=-lsz
+ configure.args-append --with-hdf5=1 --with-hdf5-dir=${prefix}
depends_lib-append port:hdf5-18
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111003/f55ccbfd/attachment.html>
More information about the macports-changes
mailing list