diff options
Diffstat (limited to 'math/scilab/patches/patch-av')
-rw-r--r-- | math/scilab/patches/patch-av | 78 |
1 files changed, 69 insertions, 9 deletions
diff --git a/math/scilab/patches/patch-av b/math/scilab/patches/patch-av index 332a17adf78..08374842048 100644 --- a/math/scilab/patches/patch-av +++ b/math/scilab/patches/patch-av @@ -1,10 +1,70 @@ -$NetBSD: patch-av,v 1.1 1998/08/25 12:53:10 agc Exp $ +$NetBSD: patch-av,v 1.2 1999/03/05 11:22:35 frueauf Exp $ ---- ./pvm3/src/pvmd.c.orig Sat Jul 18 22:31:50 1998 -+++ ./pvm3/src/pvmd.c Sat Jul 18 22:31:49 1998 -@@ -360,4 +360,5 @@ - #include <sys/param.h> - #endif -+#include <sys/types.h> - #ifdef NEEDMENDIAN - #include <machine/endian.h> +--- Makefile.in.orig Fri Sep 11 07:12:14 1998 ++++ Makefile.in Sun Jan 17 12:51:05 1999 +@@ -60,5 +60,7 @@ + $(RM) bin/scilex + +-SUBDIRS = scripts maple macros imp intersci @MANVIEWER@ @XMETANET@ \ ++# don't install @MANVIEWER@ (xless) because NetBSD already has it ++#SUBDIRS = scripts maple macros imp intersci @MANVIEWER@ @XMETANET@ \ ++SUBDIRS = scripts maple macros imp intersci @XMETANET@ \ + tests demos @COMM@ examples + +@@ -78,6 +80,6 @@ + $(MAKE) $(MFLAGS) world; + +-scilex-lib-world:: +- @cd pvm3; echo "making all in pvm3..."; $(MAKE) $(MFLAGS); ++#scilex-lib-world:: ++# @cd pvm3; echo "making all in pvm3..."; $(MAKE) $(MFLAGS); + + all:: +@@ -106,8 +108,8 @@ + done + +-distclean:: +- @cd pvm3; echo "making distclean in pvm3..."; \ +- $(MAKE) $(MFLAGS) clean; +- $(RM) -r pvm3/lib/@PVMARCH@ pvm3/bin/@PVMARCH@ ++#distclean:: ++# @cd pvm3; echo "making distclean in pvm3..."; \ ++# $(MAKE) $(MFLAGS) clean; ++# $(RM) -r pvm3/lib/@PVMARCH@ pvm3/bin/@PVMARCH@ + + clean:: +@@ -119,7 +121,7 @@ + done + +-clean:: +- @cd pvm3; echo "making clean in pvm3..."; \ +- $(MAKE) $(MFLAGS) clean; ++#clean:: ++# @cd pvm3; echo "making clean in pvm3..."; \ ++# $(MAKE) $(MFLAGS) clean; + + tests: +@@ -150,8 +152,4 @@ + $(SCIBASE)/routines/graphics/Graphics.h \ + $(SCIBASE)/routines/sun/link.h $(SCIBASE)/routines/intersci/sparse.h \ +- $(SCIBASE)/pvm3/lib/pvm $(SCIBASE)/pvm3/lib/pvmd \ +- $(SCIBASE)/pvm3/lib/pvmtmparch \ +- $(SCIBASE)/pvm3/lib/@PVMARCH@/pvmd3 \ +- $(SCIBASE)/pvm3/lib/@PVMARCH@/pvmgs \ + $(SCIBASE)/tcl \ + $(SCIBASE)/.binary +@@ -162,2 +160,14 @@ + cd .. ; tar cvf $(SCIDIR)/$(SCIBASE)-bin.tar $(BINDISTFILES) + $(RM) .binary ++ ++install: ++ touch .binary ++ strip $(SCIDIR)/bin/scilex ++ cd .. ; tar cvf - $(BINDISTFILES) | (cd ${PREFIX}/share; tar xf -) ++ cd ${PREFIX}/share/scilab-2.4.1; make ++ rm -f ${PREFIX}/bin/scilab ++ ln -fs ${PREFIX}/share/scilab-2.4.1/bin/scilab ${PREFIX}/bin/scilab ++ ln -fs ${PREFIX}/bin/xless ${PREFIX}/share/scilab-2.4.1/bin/xless ++ ${BSD_INSTALL_DATA} ${PREFIX}/share/scilab-2.4.1/X11_defaults/Xscilab ${X11BASE}/lib/X11/app-defaults ++ ${BSD_INSTALL_DATA} ${PREFIX}/share/scilab-2.4.1/X11_defaults/Metanet-color ${X11BASE}/lib/X11/app-defaults ++ |