summaryrefslogtreecommitdiff
path: root/science/openfoam/files/patch-Allwmake
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2006-01-22 10:13:06 +0000
committerThierry Thomas <thierry@FreeBSD.org>2006-01-22 10:13:06 +0000
commit20185945628dcdf1923d201dd9b85afcfe8fc118 (patch)
tree1cacb11ed2c41c855e8f618c68ad6737df02310e /science/openfoam/files/patch-Allwmake
parentSHA256ify (manually done and checked) (diff)
The OpenFOAM (Open Field Operation and Manipulation) CFD Toolbox can simulate
anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics, electromagnetics and the pricing of financial options. WWW: http://www.opencfd.co.uk/openfoam/index.html PR: ports/91886 Submitted by: thierry
Diffstat (limited to 'science/openfoam/files/patch-Allwmake')
-rw-r--r--science/openfoam/files/patch-Allwmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/science/openfoam/files/patch-Allwmake b/science/openfoam/files/patch-Allwmake
new file mode 100644
index 000000000000..56c31eae8b08
--- /dev/null
+++ b/science/openfoam/files/patch-Allwmake
@@ -0,0 +1,20 @@
+--- Allwmake.orig Wed Jan 5 16:00:46 2005
++++ Allwmake Sat Dec 17 23:42:15 2005
+@@ -1,4 +1,6 @@
+-#!/bin/sh
++#! /bin/csh -f
++
++source .cshrc
+
+ (cd wmake ; ./makeWmake)
+
+@@ -6,7 +8,6 @@
+
+ (cd applications ; ./Allwmake)
+
+-if [ $# = 1 -a "$1" = "doc" ]
+-then
++if ($# == 1 && "$1" == "doc") then
+ (cd doc ; ./Allwmake)
+-fi
++endif