aboutsummaryrefslogtreecommitdiff
path: root/math/petsc/files/patch-python::PETSc::packages::Spooles.py
diff options
context:
space:
mode:
Diffstat (limited to 'math/petsc/files/patch-python::PETSc::packages::Spooles.py')
-rw-r--r--math/petsc/files/patch-python::PETSc::packages::Spooles.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/petsc/files/patch-python::PETSc::packages::Spooles.py b/math/petsc/files/patch-python::PETSc::packages::Spooles.py
new file mode 100644
index 000000000000..2b4d626472c8
--- /dev/null
+++ b/math/petsc/files/patch-python::PETSc::packages::Spooles.py
@@ -0,0 +1,12 @@
+--- ./python/PETSc/packages/Spooles.py.orig Wed Sep 22 02:45:51 2004
++++ ./python/PETSc/packages/Spooles.py Tue Sep 28 23:09:00 2004
+@@ -71,7 +71,8 @@
+ if 'with-'+self.package+'-lib' in self.framework.argDB: #~spooles-2.2/MPI/src/spoolesMPI.a ~spooles-2.2/spooles.a
+ lib = self.framework.argDB['with-'+self.package+'-lib']
+ (lib_mpi,dummy) = os.path.split(lib)
+- lib_mpi = os.path.join(lib_mpi,'MPI/src/spoolesMPI.a')
++ # FreeBSD: MPI is included in our spooles.a
++ #lib_mpi = os.path.join(lib_mpi,'MPI/src/spoolesMPI.a')
+ yield ('User specified '+self.PACKAGE+' library',lib_mpi,lib)
+ elif 'with-'+self.package+'-include' in self.framework.argDB:
+ dir = self.framework.argDB['with-'+self.package+'-include'] #~spooles-2.2