aboutsummaryrefslogtreecommitdiffstats
path: root/science/openfoam
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-09-15 13:45:32 +0800
committerthierry <thierry@FreeBSD.org>2006-09-15 13:45:32 +0800
commitd8966f6b6e8f8e587978eeb6c19f796d7f0a9b41 (patch)
tree3983777bbb57dae94617209f2b982b0b348cd6bf /science/openfoam
parent25e95d8c0bdbbb352c2d13615360a8fe364aa068 (diff)
downloadfreebsd-ports-gnome-d8966f6b6e8f8e587978eeb6c19f796d7f0a9b41.tar.gz
freebsd-ports-gnome-d8966f6b6e8f8e587978eeb6c19f796d7f0a9b41.tar.zst
freebsd-ports-gnome-d8966f6b6e8f8e587978eeb6c19f796d7f0a9b41.zip
Fix the build with mpich2.
Reported by: pointyhat via Kris
Diffstat (limited to 'science/openfoam')
-rw-r--r--science/openfoam/Makefile2
-rw-r--r--science/openfoam/files/patch-wmake_rules_FreeBSD_mplibMPICH7
2 files changed, 8 insertions, 1 deletions
diff --git a/science/openfoam/Makefile b/science/openfoam/Makefile
index ff2d0e64e6fc..503420a3583e 100644
--- a/science/openfoam/Makefile
+++ b/science/openfoam/Makefile
@@ -154,7 +154,7 @@ pre-configure:
-e "s|2\.3\.11|${MICO_VER}|" \
-e "s|\$$MICO_PATH/platforms/\$$WM_OPTIONS|${LOCALBASE}|" \
-e "s|1\.2\.4|${MPICH_VER}|" \
- -e "s|\$$MPICH_PATH/platforms/\$$WM_OPTIONS|${LOCALBASE}/mpich|"\
+ -e "s|\$$MPICH_PATH/platforms/\$$WM_OPTIONS|${LOCALBASE}/mpich2|"\
-e "s|7\.1\.1|${LAM_VER}|" \
-e "s|\$$LAMHOME/platforms/\$$WM_OPTIONS|${LOCALBASE}|" \
-e "s|^SOURCE |source |" \
diff --git a/science/openfoam/files/patch-wmake_rules_FreeBSD_mplibMPICH b/science/openfoam/files/patch-wmake_rules_FreeBSD_mplibMPICH
new file mode 100644
index 000000000000..6097418d6fb1
--- /dev/null
+++ b/science/openfoam/files/patch-wmake_rules_FreeBSD_mplibMPICH
@@ -0,0 +1,7 @@
+--- wmake/rules/FreeBSD/mplibMPICH.orig Mon Nov 22 18:30:37 2004
++++ wmake/rules/FreeBSD/mplibMPICH Thu Sep 14 22:48:09 2006
+@@ -1,3 +1,3 @@
+-PFLAGS =
++PFLAGS = -DMPICH_SKIP_MPICXX
+ PINC = -I$(MPICH_ARCH_PATH)/include
+ PLIBS = -L$(MPICH_ARCH_PATH)/lib -lmpich