mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
dca1739cb8
PR: 14877 Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
18 lines
370 B
Plaintext
18 lines
370 B
Plaintext
--- scripts/scilab.g.orig Fri Sep 11 08:57:02 1998
|
|
+++ scripts/scilab.g Thu Jan 14 14:01:58 1999
|
|
@@ -38,6 +38,12 @@
|
|
fi
|
|
|
|
-PVM_ROOT=$SCI/pvm3
|
|
-PVM_DPATH=$PVM_ROOT/lib/pvmd
|
|
+if test "$PVM_ROOT" = ""; then
|
|
+ PVM_ROOT=$SCI/pvm3
|
|
+fi
|
|
+if test -x $PVM_ROOT/bin/pvmd; then
|
|
+ PVM_DPATH=$PVM_ROOT/bin/pvmd
|
|
+else
|
|
+ PVM_DPATH=$PVM_ROOT/lib/pvmd
|
|
+fi
|
|
export PVM_ROOT PVM_DPATH
|
|
|