summaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>1999-11-23 16:12:39 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>1999-11-23 16:12:39 +0000
commit83150a9211f2cb2a51c297e96f49090c7b1b7686 (patch)
tree59a55307914e648b72c7f74a6e6c620a5064dc4e /math/scilab
parent0172d040d19616f1230f7c2c9f250bd05ecd37ca (diff)
downloadpkgsrc-83150a9211f2cb2a51c297e96f49090c7b1b7686.tar.gz
- Update pvm dependency to new version of pvm (3.4.2)
- a few patches to correctly work with the new version of PVM - Add USE_FORTRAN and remove local selection of the fortran compiler - Change DEPENDS on xless to RUN_DEPENDS (not used for build)
Diffstat (limited to 'math/scilab')
-rw-r--r--math/scilab/Makefile15
-rw-r--r--math/scilab/files/patch-sum12
-rw-r--r--math/scilab/patches/patch-aa44
-rw-r--r--math/scilab/patches/patch-au95
-rw-r--r--math/scilab/patches/patch-bv11
-rw-r--r--math/scilab/patches/patch-bw11
-rw-r--r--math/scilab/patches/patch-bx11
-rw-r--r--math/scilab/patches/patch-by11
-rw-r--r--math/scilab/patches/patch-bz11
-rw-r--r--math/scilab/patches/patch-ca11
10 files changed, 130 insertions, 102 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index b37812f943c..86dc19c1b9b 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1999/10/20 13:16:57 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.11 1999/11/23 16:12:39 dmcmahill Exp $
#
# IMPORTANT: Before upgrading this package, please read files/README.next_rev!
@@ -8,22 +8,19 @@ WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= math
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/
-MAINTAINER= mcmahill@alum.mit.edu
+MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://www-rocq.inria.fr/scilab/
-DEPENDS+= f2c-19980913:../../lang/f2c
-DEPENDS+= xless-1.7:../../x11/xless
-DEPENDS+= pvm-3.4.7:../../parallel/pvm3
+RUN_DEPENDS+= xless-1.7:../../x11/xless
+DEPENDS+= pvm-3.4.2:../../parallel/pvm3
NO_CDROM= "no paid distribution of SCILAB"
RESTRICTED= "no paid distribution of SCILAB"
-PLIST_SRC= ${WRKDIR}/.PLIST-src
-
+USE_FORTRAN= yes
USE_X11BASE= yes
USE_X11= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-f2c
MAKE_ENV+= HOME=${WRKSRC}
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
@@ -38,8 +35,6 @@ pre-fetch:
fi
post-patch:
- @${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \
- -e 's|@x11base@|'${X11BASE}'|g' < ${PKGDIR}/PLIST > ${PLIST_SRC}
@if [ ${MACHINE_ARCH} != "alpha" ]; then \
${MV} ${WRKSRC}/scilab.star.orig ${WRKSRC}/scilab.star ; \
fi
diff --git a/math/scilab/files/patch-sum b/math/scilab/files/patch-sum
index f9b6153f9cb..20eae14e1c5 100644
--- a/math/scilab/files/patch-sum
+++ b/math/scilab/files/patch-sum
@@ -1,6 +1,6 @@
-$NetBSD: patch-sum,v 1.2 1999/10/20 13:16:58 dmcmahill Exp $
+$NetBSD: patch-sum,v 1.3 1999/11/23 16:12:40 dmcmahill Exp $
-MD5 (patch-aa) = 4da2feb94dda25f43d3bb69b896ce557
+MD5 (patch-aa) = c733a8902a06d35ff5a5938bc74d2a7a
MD5 (patch-ab) = 5e2b13daee5b550646d4e9d0263ed784
MD5 (patch-ac) = 5bc70e04a53bf69e1385cebfab6a7de8
MD5 (patch-ad) = 7941b30677737f275521dd0f909c525c
@@ -20,7 +20,7 @@ MD5 (patch-aq) = 3195d62edb2b9050dc5101ba169eb457
MD5 (patch-ar) = cef67f32f50fa960f7ec2675fcf362a6
MD5 (patch-as) = ab107f334940508c8050199310d6d8fd
MD5 (patch-at) = c4d94450ccff68396bd881c8ea76d8c4
-MD5 (patch-au) = 186f72fee6543f80e0b4a3a41603707a
+MD5 (patch-au) = 7da608ffa66a699220cc9758f6c0fd10
MD5 (patch-av) = 7c69ce169e4339028ea329b39fb8e8ff
MD5 (patch-aw) = 2841d3fa901d94a2ada4ff19c73d15bb
MD5 (patch-ax) = ded46e72068fe653817e916e9f133873
@@ -47,3 +47,9 @@ MD5 (patch-br) = a58c0bedfd7a36202764a813dd8247c4
MD5 (patch-bs) = 895ce97f5e6a7ebf4a134cda2d954d60
MD5 (patch-bt) = 22197886edadb8f13f4e9b72c2f048c5
MD5 (patch-bu) = 0bedfd277345a6adf296af1b6b15db30
+MD5 (patch-bv) = c8ad4382004255025c38b7ca5e17d171
+MD5 (patch-bw) = 8563112e4a7074e8e30dcafe823bffb3
+MD5 (patch-bx) = d2d7599e9a39a8c0c60a8fd849a80aaa
+MD5 (patch-by) = 95c14caddbb76151af7f653c0cc39029
+MD5 (patch-bz) = 214dc68a24b97716c4d8c6f720a62c4b
+MD5 (patch-ca) = f3e444f65578f29dbd55b196d8f2934f
diff --git a/math/scilab/patches/patch-aa b/math/scilab/patches/patch-aa
index 852a713b783..f533a5ad8cf 100644
--- a/math/scilab/patches/patch-aa
+++ b/math/scilab/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 1999/10/20 13:16:59 dmcmahill Exp $
+$NetBSD: patch-aa,v 1.4 1999/11/23 16:12:40 dmcmahill Exp $
---- configure.in.orig Thu Sep 17 07:44:35 1998
-+++ configure.in Mon Oct 4 21:52:54 1999
+--- ./configure.in.orig Thu Sep 17 07:44:35 1998
++++ ./configure.in Mon Nov 22 19:55:08 1999
@@ -684,4 +684,108 @@
MAKEFILE_TARGET=Makefile.gcwin32
;;
@@ -59,13 +59,13 @@ $NetBSD: patch-aa,v 1.3 1999/10/20 13:16:59 dmcmahill Exp $
+ AC_MSG_ERROR([Unable to configure: Fortran compiler f2c-f77 not found])
+ fi
+ else
-+ AC_CHECK_PROGS(F77,f77 f2c-f77,no)
++ AC_CHECK_PROGS(F77,"${FC}" f77 f2c-f77,no)
+ if test "$F77" = no; then
+ AC_MSG_ERROR([Unable to configure: Fortran, f77 or f2c-f77, compiler not found])
+ fi
+ fi
+
-+ FC=$F77
++ FC="$F77"
+ FC_OPTIONS='-O2'
+ FC_LDFLAGS="-Wl,-R${X11BASE}/lib"
+ FC_PICFLAGS='-fPIC'
@@ -121,7 +121,7 @@ $NetBSD: patch-aa,v 1.3 1999/10/20 13:16:59 dmcmahill Exp $
+
##################
## termcap library
-@@ -883,20 +992,38 @@
+@@ -883,19 +992,19 @@
if test "$with_pvm" != no; then
-AC_CACHE_CHECK("for PVM architecture",ac_cv_PVM_arch,
@@ -131,44 +131,28 @@ $NetBSD: patch-aa,v 1.3 1999/10/20 13:16:59 dmcmahill Exp $
-if test "$ac_cv_PVM_arch" = UNKNOWN; then
- AC_MSG_WARN("PVM unable to find architecture: I will not use PVM")
-else
-+case "$host" in
-+ *-*-netbsd*)
-+ ## with NetBSD, use the version of pvm3 which is part of the package collection
-+ AC_MSG_CHECKING("for PVM architecture")
-+ AC_MSG_RESULT("NETBSD")
- AC_DEFINE(WITH_PVM)
+- AC_DEFINE(WITH_PVM)
- PVMARCH="$ac_cv_PVM_arch"
- PVMGLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libgpvm3.a"
- PVMLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libpvm3.a"
-+ PVMARCH=NETBSD
-+ PVMLIB=${LOCALBASE}/lib/libpvm3.a
-+ PVMGLIB=${LOCALBASE}/lib/libgpvm3.a
- PVMSCIDIR=pvm
- PVMSCILIB=libs/pvm.a
+- PVMSCIDIR=pvm
+- PVMSCILIB=libs/pvm.a
- PVMTARGET=scilex-lib
-fi
-+ PVMTARGET=pvm-no-build
-+ ;;
-+
-+ *)
-
+ AC_CACHE_CHECK("for PVM architecture",ac_cv_PVM_arch,
+ [
-+ ac_cv_PVM_arch=`./pvm3/lib/pvmgetarch`
++ ac_cv_PVM_arch=`${LOCALBASE}/pvm3/lib/pvmgetarch`
+ ])
+ if test "$ac_cv_PVM_arch" = UNKNOWN; then
+ AC_MSG_WARN("PVM unable to find architecture: I will not use PVM")
+ else
+ AC_DEFINE(WITH_PVM)
+ PVMARCH="$ac_cv_PVM_arch"
-+ PVMGLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libgpvm3.a"
-+ PVMLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libpvm3.a"
++ PVMGLIB="\$(LOCALBASE)/pvm3/lib/$ac_cv_PVM_arch/libgpvm3.a"
++ PVMLIB="\$(LOCALBASE)/pvm3/lib/$ac_cv_PVM_arch/libpvm3.a"
+ PVMSCIDIR=pvm
+ PVMSCILIB=libs/pvm.a
-+ PVMTARGET=scilex-lib
++ PVMTARGET=pvm-no-build
+ fi
-+ ;;
-+
-+esac
- fi
+ fi
diff --git a/math/scilab/patches/patch-au b/math/scilab/patches/patch-au
index a496017893c..4f8c7cc9981 100644
--- a/math/scilab/patches/patch-au
+++ b/math/scilab/patches/patch-au
@@ -1,7 +1,7 @@
-$NetBSD: patch-au,v 1.3 1999/10/20 13:16:59 dmcmahill Exp $
+$NetBSD: patch-au,v 1.4 1999/11/23 16:12:40 dmcmahill Exp $
---- configure.orig Thu Sep 17 09:06:23 1998
-+++ configure Mon Oct 4 21:53:01 1999
+--- ./configure.orig Thu Sep 17 09:06:23 1998
++++ ./configure Mon Nov 22 19:55:23 1999
@@ -44,5 +44,5 @@
# Guess values for system-dependent variables and create Makefiles.
@@ -655,7 +655,7 @@ $NetBSD: patch-au,v 1.3 1999/10/20 13:16:59 dmcmahill Exp $
+ { echo "configure: error: Unable to configure: Fortran compiler f2c-f77 not found" 1>&2; exit 1; }
+ fi
+ else
-+ for ac_prog in f77 f2c-f77
++ for ac_prog in "${FC}" f77 f2c-f77
+do
+# Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
@@ -695,7 +695,7 @@ $NetBSD: patch-au,v 1.3 1999/10/20 13:16:59 dmcmahill Exp $
+ fi
+ fi
+
-+ FC=$F77
++ FC="$F77"
+ FC_OPTIONS='-O2'
+ FC_LDFLAGS="-Wl,-R${X11BASE}/lib"
+ FC_PICFLAGS='-fPIC'
@@ -1457,40 +1457,20 @@ $NetBSD: patch-au,v 1.3 1999/10/20 13:16:59 dmcmahill Exp $
+if { (eval echo configure:4009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
-@@ -3738,30 +4050,52 @@
+@@ -3738,29 +4050,29 @@
if test "$with_pvm" != no; then
-echo $ac_n "checking "for PVM architecture"""... $ac_c" 1>&6
-echo "configure:3742: checking "for PVM architecture"" >&5
-+case "$host" in
-+ *-*-netbsd*)
-+ ## with NetBSD, use the version of pvm3 which is part of the package collection
+ echo $ac_n "checking "for PVM architecture"""... $ac_c" 1>&6
-+echo "configure:4057: checking "for PVM architecture"" >&5
-+ echo "$ac_t"""NETBSD"" 1>&6
-+ cat >> confdefs.h <<\EOF
-+#define WITH_PVM 1
-+EOF
-+
-+ PVMARCH=NETBSD
-+ PVMLIB=${LOCALBASE}/lib/libpvm3.a
-+ PVMGLIB=${LOCALBASE}/lib/libgpvm3.a
-+ PVMSCIDIR=pvm
-+ PVMSCILIB=libs/pvm.a
-+ PVMTARGET=pvm-no-build
-+ ;;
-+
-+ *)
-+
-+ echo $ac_n "checking "for PVM architecture"""... $ac_c" 1>&6
-+echo "configure:4074: checking "for PVM architecture"" >&5
++echo "configure:4054: checking "for PVM architecture"" >&5
if eval "test \"`echo '$''{'ac_cv_PVM_arch'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-ac_cv_PVM_arch=`./pvm3/lib/pvmgetarch`
-
-+ ac_cv_PVM_arch=`./pvm3/lib/pvmgetarch`
++ ac_cv_PVM_arch=`${LOCALBASE}/pvm3/lib/pvmgetarch`
+
fi
@@ -1514,109 +1494,106 @@ $NetBSD: patch-au,v 1.3 1999/10/20 13:16:59 dmcmahill Exp $
- PVMTARGET=scilex-lib
-fi
+ PVMARCH="$ac_cv_PVM_arch"
-+ PVMGLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libgpvm3.a"
-+ PVMLIB="\$(SCIDIR)/pvm3/lib/$ac_cv_PVM_arch/libpvm3.a"
++ PVMGLIB="\$(LOCALBASE)/pvm3/lib/$ac_cv_PVM_arch/libgpvm3.a"
++ PVMLIB="\$(LOCALBASE)/pvm3/lib/$ac_cv_PVM_arch/libpvm3.a"
+ PVMSCIDIR=pvm
+ PVMSCILIB=libs/pvm.a
-+ PVMTARGET=scilex-lib
++ PVMTARGET=pvm-no-build
+ fi
-+ ;;
-+esac
fi
-
-@@ -3822,5 +4156,5 @@
+@@ -3822,5 +4134,5 @@
echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
-echo "configure:3825: checking for main in -ldl" >&5
-+echo "configure:4159: checking for main in -ldl" >&5
++echo "configure:4137: checking for main in -ldl" >&5
ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-@@ -3830,5 +4164,5 @@
+@@ -3830,5 +4142,5 @@
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3833 "configure"
-+#line 4167 "configure"
++#line 4145 "configure"
#include "confdefs.h"
-@@ -3837,5 +4171,5 @@
+@@ -3837,5 +4149,5 @@
; return 0; }
EOF
-if { (eval echo configure:3840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-+if { (eval echo configure:4174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
-@@ -3878,5 +4212,5 @@
+@@ -3878,5 +4190,5 @@
echo $ac_n " Testing version (need $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later)... " $ac_c
cat > conftest.$ac_ext <<EOF
-#line 3881 "configure"
-+#line 4215 "configure"
++#line 4193 "configure"
#include "confdefs.h"
-@@ -3963,5 +4297,5 @@
+@@ -3963,5 +4275,5 @@
echo $ac_n " ""$ac_c"
echo $ac_n "checking for Tcl_DoOneEvent in -lm""... $ac_c" 1>&6
-echo "configure:3966: checking for Tcl_DoOneEvent in -lm" >&5
-+echo "configure:4300: checking for Tcl_DoOneEvent in -lm" >&5
++echo "configure:4278: checking for Tcl_DoOneEvent in -lm" >&5
ac_lib_var=`echo m'_'Tcl_DoOneEvent | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-@@ -3971,5 +4305,5 @@
+@@ -3971,5 +4283,5 @@
LIBS="-lm $m $X_LIBS $X_EXTRA_LIBS $TCLTK_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3974 "configure"
-+#line 4308 "configure"
++#line 4286 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
-@@ -3982,5 +4316,5 @@
+@@ -3982,5 +4294,5 @@
; return 0; }
EOF
-if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-+if { (eval echo configure:4319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
-@@ -4045,5 +4379,5 @@
+@@ -4045,5 +4357,5 @@
echo $ac_n " Testing version (need $CHK_TK_MAJOR.$CHK_TK_MINOR or later)... " $ac_c
cat > conftest.$ac_ext <<EOF
-#line 4048 "configure"
-+#line 4382 "configure"
++#line 4360 "configure"
#include "confdefs.h"
-@@ -4126,5 +4460,5 @@
+@@ -4126,5 +4438,5 @@
echo $ac_n " ""$ac_c"
echo $ac_n "checking for Tk_BindEvent in -lm""... $ac_c" 1>&6
-echo "configure:4129: checking for Tk_BindEvent in -lm" >&5
-+echo "configure:4463: checking for Tk_BindEvent in -lm" >&5
++echo "configure:4441: checking for Tk_BindEvent in -lm" >&5
ac_lib_var=`echo m'_'Tk_BindEvent | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-@@ -4134,5 +4468,5 @@
+@@ -4134,5 +4446,5 @@
LIBS="-lm $m -lX11 $X_LIBS $X_EXTRA_LIBS $TCLTK_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4137 "configure"
-+#line 4471 "configure"
++#line 4449 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
-@@ -4145,5 +4479,5 @@
+@@ -4145,5 +4457,5 @@
; return 0; }
EOF
-if { (eval echo configure:4148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-+if { (eval echo configure:4482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:4460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
-@@ -4286,5 +4620,5 @@
+@@ -4286,5 +4598,5 @@
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
- case `(ac_space=' '; set) 2>&1` in
+ case `(ac_space=' '; set | grep ac_space) 2>&1` in
*ac_space=\ *)
# `set' does not quote correctly, so add quotes (double-quote substitution
-@@ -4353,5 +4687,5 @@
+@@ -4353,5 +4665,5 @@
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- echo "$CONFIG_STATUS generated by autoconf version 2.12"
+ echo "$CONFIG_STATUS generated by autoconf version 2.13"
exit 0 ;;
-help | --help | --hel | --he | --h)
-@@ -4372,7 +4706,9 @@
+@@ -4372,7 +4684,9 @@
$ac_vpsub
$extrasub
+s%@SHELL@%$SHELL%g
diff --git a/math/scilab/patches/patch-bv b/math/scilab/patches/patch-bv
new file mode 100644
index 00000000000..0a8cbc6532c
--- /dev/null
+++ b/math/scilab/patches/patch-bv
@@ -0,0 +1,11 @@
+$NetBSD: patch-bv,v 1.3 1999/11/23 16:12:40 dmcmahill Exp $
+
+--- ./routines/pvm/Makefile.orig Mon May 18 03:29:00 1998
++++ ./routines/pvm/Makefile Mon Nov 22 21:41:31 1999
+@@ -11,5 +11,5 @@
+ include ../../Makefile.incl
+
+-CFLAGS = $(CC_OPTIONS)
++CFLAGS = $(CC_OPTIONS) -I${LOCALBASE}/pvm3/include
+
+ include ../Make.lib
diff --git a/math/scilab/patches/patch-bw b/math/scilab/patches/patch-bw
new file mode 100644
index 00000000000..390c8d35781
--- /dev/null
+++ b/math/scilab/patches/patch-bw
@@ -0,0 +1,11 @@
+$NetBSD: patch-bw,v 1.3 1999/11/23 16:12:40 dmcmahill Exp $
+
+--- ./routines/pvm/pvm_grp.c.orig Thu Apr 23 10:54:47 1998
++++ ./routines/pvm/pvm_grp.c Mon Nov 22 21:40:11 1999
+@@ -14,5 +14,5 @@
+ #include <stdio.h>
+ #include <string.h>
+-#include "../../pvm3/include/pvm3.h"
++#include "pvm3.h"
+ #include "../machine.h"
+
diff --git a/math/scilab/patches/patch-bx b/math/scilab/patches/patch-bx
new file mode 100644
index 00000000000..8813d305e6b
--- /dev/null
+++ b/math/scilab/patches/patch-bx
@@ -0,0 +1,11 @@
+$NetBSD: patch-bx,v 1.3 1999/11/23 16:12:40 dmcmahill Exp $
+
+--- ./routines/pvm/pvm_info.c.orig Thu Apr 23 10:56:21 1998
++++ ./routines/pvm/pvm_info.c Mon Nov 22 21:40:22 1999
+@@ -16,5 +16,5 @@
+ #include <stdlib.h>
+ #include <string.h>
+-#include "../../pvm3/include/pvm3.h"
++#include "pvm3.h"
+ #include "../machine.h"
+
diff --git a/math/scilab/patches/patch-by b/math/scilab/patches/patch-by
new file mode 100644
index 00000000000..09956210fff
--- /dev/null
+++ b/math/scilab/patches/patch-by
@@ -0,0 +1,11 @@
+$NetBSD: patch-by,v 1.3 1999/11/23 16:12:40 dmcmahill Exp $
+
+--- ./routines/pvm/pvm_proc_ctrl.c.orig Mon Jun 22 03:20:48 1998
++++ ./routines/pvm/pvm_proc_ctrl.c Mon Nov 22 21:40:32 1999
+@@ -65,5 +65,5 @@
+ #include <stdlib.h>
+ #include <string.h>
+-#include "../../pvm3/include/pvm3.h"
++#include "pvm3.h"
+ #include "../machine.h"
+ #ifndef WIN32
diff --git a/math/scilab/patches/patch-bz b/math/scilab/patches/patch-bz
new file mode 100644
index 00000000000..6ad953b1b94
--- /dev/null
+++ b/math/scilab/patches/patch-bz
@@ -0,0 +1,11 @@
+$NetBSD: patch-bz,v 1.3 1999/11/23 16:12:40 dmcmahill Exp $
+
+--- ./routines/pvm/pvm_recv.c.orig Thu Apr 23 11:00:24 1998
++++ ./routines/pvm/pvm_recv.c Mon Nov 22 21:40:38 1999
+@@ -15,5 +15,5 @@
+ #include <stdlib.h>
+ #include <string.h>
+-#include "../../pvm3/include/pvm3.h"
++#include "pvm3.h"
+ #include "../machine.h"
+ #include "../stack-c.h"
diff --git a/math/scilab/patches/patch-ca b/math/scilab/patches/patch-ca
new file mode 100644
index 00000000000..55633095aba
--- /dev/null
+++ b/math/scilab/patches/patch-ca
@@ -0,0 +1,11 @@
+$NetBSD: patch-ca,v 1.3 1999/11/23 16:12:40 dmcmahill Exp $
+
+--- ./routines/pvm/pvm_send.c.orig Tue May 26 03:41:52 1998
++++ ./routines/pvm/pvm_send.c Mon Nov 22 21:40:45 1999
+@@ -18,5 +18,5 @@
+ #include <stdlib.h>
+ #include <string.h>
+-#include "../../pvm3/include/pvm3.h"
++#include "pvm3.h"
+ #include "../machine.h"
+ #include "../stack-c.h"