[120960] trunk/dports/math/petsc/Portfile

sean at macports.org sean at macports.org
Thu Jun 12 11:28:16 PDT 2014


Revision: 120960
          https://trac.macports.org/changeset/120960
Author:   sean at macports.org
Date:     2014-06-12 11:28:16 -0700 (Thu, 12 Jun 2014)
Log Message:
-----------
petsc: fix mumps dependence on parmetis and add missing c2html

Modified Paths:
--------------
    trunk/dports/math/petsc/Portfile

Modified: trunk/dports/math/petsc/Portfile
===================================================================
--- trunk/dports/math/petsc/Portfile	2014-06-12 18:25:16 UTC (rev 120959)
+++ trunk/dports/math/petsc/Portfile	2014-06-12 18:28:16 UTC (rev 120960)
@@ -8,7 +8,7 @@
 mpi.setup
 
 bitbucket.setup     petsc petsc 3.4.4 v
-revision            2
+revision            3
 categories          math science
 maintainers         sean
 description         Portable, Extensible Toolkit for Scientific Computation
@@ -27,7 +27,8 @@
 
 depends_build-append \
                     port:cmake \
-                    port:sowing
+                    port:sowing \
+                    port:c2html
 
 pre-configure {
     configure.args-append \
@@ -40,7 +41,8 @@
         --LDFLAGS="${configure.ldflags}" \
         --CFLAGS="${configure.cflags}" \
         --CXXFLAGS="${configure.cxxflags}" \
-        --without-x
+        --without-x \
+        --with-c2html
 
     if {[mpi_variant_isset]} {
         configure.args-delete --with-mpi=0 \
@@ -72,7 +74,9 @@
                     --with-valgrind=0 \
                     --with-mpi=0 \
                     --with-fc=0 \
-                    --with-shared-libraries
+                    --with-shared-libraries \
+                    --with-c2html-dir=${prefix} \
+                    --without-x
 
 variant accelerate description {Use Accelerate framework for LAPACK} conflicts atlas {
     configure.args-append --with-blas-lapack-lib=/System/Library/Frameworks/Accelerate.framework/Versions/Current/Accelerate
@@ -104,7 +108,7 @@
     configure.args-append --with-superlu-dir=${prefix}
 }
 
-variant mumps description {Build with MUMPS interface for a parallel direct solver} {
+variant mumps description {Build with MUMPS interface for a parallel direct solver} requires parmetis {
     depends_lib-append    port:mumps
     configure.args-append --with-scalapack-dir=${prefix} \
                           --with-mumps-dir=${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140612/291ff32d/attachment.html>


More information about the macports-changes mailing list