pkgsrc/math/xlispstat/patches/patch-ac

69 lines
2 KiB
Text
Raw Normal View History

Update xlispstat to 3.52.18. Make me the maintainer (I guess because I'm a card-carrying statistician). Relevant changes from version 3.52.9: Switched to using sigsetjmp/siglonjmp when available to preserve signal masks (allows CONTROL-C to work on Linux). Modified startup to start hidden and minimized if -Embedded is in the command line. Cleaned up get-decoded-time. Removed savesys.lsp from distribution to force using save-workspace directly when building the mac or windows workspaces. Using save-workspace from within a file means some special variables are bound. Added support for FreeBSD (enabled standard IEEE handling of floating point zero divide). Added SYSTEM:TYPED-VECTOR-ELEMENT-SIZE. Added unsigned C character to typed vector types. Added cptr-protect to add values onto list of values protected by a typed pointer. Added user exit functions. Added support for weak boxes. Added binding of *print-readably* to nil around default handler printing code and around do-debugger to avoid recursive errors. Added new customizable DDE server. Added minimal implementations of copy-readtable, readtablep, and set-syntax-from-char. Added error check for non-integer index in select. Fixed defpackage to prevent duplicate nicknames. Fixed structure printing to inherit print functions. Fixed lisp2ulong to signal an error for negative instead of positive arguments. Fixed buffer underflow problem in floating point formatting. Fixed make-string to check for negative length argument. Fixed some documentation mismatches.
2000-10-15 04:23:54 +02:00
$NetBSD: patch-ac,v 1.5 2000/10/15 02:23:56 jlam Exp $
--- Makefile.in.orig Tue Feb 1 18:22:53 2000
+++ Makefile.in
@@ -6,7 +6,8 @@
##############################################################################
##############################################################################
#
-# XLSLIB -- directory for xlisp executable, startup, example, and help files
Update xlispstat to 3.52.18. Make me the maintainer (I guess because I'm a card-carrying statistician). Relevant changes from version 3.52.9: Switched to using sigsetjmp/siglonjmp when available to preserve signal masks (allows CONTROL-C to work on Linux). Modified startup to start hidden and minimized if -Embedded is in the command line. Cleaned up get-decoded-time. Removed savesys.lsp from distribution to force using save-workspace directly when building the mac or windows workspaces. Using save-workspace from within a file means some special variables are bound. Added support for FreeBSD (enabled standard IEEE handling of floating point zero divide). Added SYSTEM:TYPED-VECTOR-ELEMENT-SIZE. Added unsigned C character to typed vector types. Added cptr-protect to add values onto list of values protected by a typed pointer. Added user exit functions. Added support for weak boxes. Added binding of *print-readably* to nil around default handler printing code and around do-debugger to avoid recursive errors. Added new customizable DDE server. Added minimal implementations of copy-readtable, readtablep, and set-syntax-from-char. Added error check for non-integer index in select. Fixed defpackage to prevent duplicate nicknames. Fixed structure printing to inherit print functions. Fixed lisp2ulong to signal an error for negative instead of positive arguments. Fixed buffer underflow problem in floating point formatting. Fixed make-string to check for negative length argument. Fixed some documentation mismatches.
2000-10-15 04:23:54 +02:00
+# XLSLIB -- directory for xlisp example, and help files
+# XLSLIBEXEC -- directory for xlisp executable and startup files
# BINDIR -- directory for xlispstat shell script
#
# For the remaining parameters, if your machine has a subdirectory in the
@@ -34,7 +35,8 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
-XLSLIB=${prefix}/lib/xlispstat
+XLSLIB=${prefix}/share/xlispstat
+XLSLIBEXEC=${prefix}/libexec/xlispstat
BINDIR=${exec_prefix}/bin
GRAPHSYS = @GRAPHSYS@
@@ -67,11 +69,11 @@
.lsp.fsl:
echo "(compile-file \"$<\") (exit)" | ./xlisp
-CFLAGS = -D${GRAPHSYS} ${UCFLAGS} ${X11INCDIR_FLAG}
Update xlispstat to 3.52.18. Make me the maintainer (I guess because I'm a card-carrying statistician). Relevant changes from version 3.52.9: Switched to using sigsetjmp/siglonjmp when available to preserve signal masks (allows CONTROL-C to work on Linux). Modified startup to start hidden and minimized if -Embedded is in the command line. Cleaned up get-decoded-time. Removed savesys.lsp from distribution to force using save-workspace directly when building the mac or windows workspaces. Using save-workspace from within a file means some special variables are bound. Added support for FreeBSD (enabled standard IEEE handling of floating point zero divide). Added SYSTEM:TYPED-VECTOR-ELEMENT-SIZE. Added unsigned C character to typed vector types. Added cptr-protect to add values onto list of values protected by a typed pointer. Added user exit functions. Added support for weak boxes. Added binding of *print-readably* to nil around default handler printing code and around do-debugger to avoid recursive errors. Added new customizable DDE server. Added minimal implementations of copy-readtable, readtablep, and set-syntax-from-char. Added error check for non-integer index in select. Fixed defpackage to prevent duplicate nicknames. Fixed structure printing to inherit print functions. Fixed lisp2ulong to signal an error for negative instead of positive arguments. Fixed buffer underflow problem in floating point formatting. Fixed make-string to check for negative length argument. Fixed some documentation mismatches.
2000-10-15 04:23:54 +02:00
+CFLAGS += -D${GRAPHSYS} ${UCFLAGS} ${X11INCDIR_FLAG} -Dunix=1
LIBS = ${EXTRALIBS} -lm
-LDFLAGS = ${ULDFLAGS}
Update xlispstat to 3.52.18. Make me the maintainer (I guess because I'm a card-carrying statistician). Relevant changes from version 3.52.9: Switched to using sigsetjmp/siglonjmp when available to preserve signal masks (allows CONTROL-C to work on Linux). Modified startup to start hidden and minimized if -Embedded is in the command line. Cleaned up get-decoded-time. Removed savesys.lsp from distribution to force using save-workspace directly when building the mac or windows workspaces. Using save-workspace from within a file means some special variables are bound. Added support for FreeBSD (enabled standard IEEE handling of floating point zero divide). Added SYSTEM:TYPED-VECTOR-ELEMENT-SIZE. Added unsigned C character to typed vector types. Added cptr-protect to add values onto list of values protected by a typed pointer. Added user exit functions. Added support for weak boxes. Added binding of *print-readably* to nil around default handler printing code and around do-debugger to avoid recursive errors. Added new customizable DDE server. Added minimal implementations of copy-readtable, readtablep, and set-syntax-from-char. Added error check for non-integer index in select. Fixed defpackage to prevent duplicate nicknames. Fixed structure printing to inherit print functions. Fixed lisp2ulong to signal an error for negative instead of positive arguments. Fixed buffer underflow problem in floating point formatting. Fixed make-string to check for negative length argument. Fixed some documentation mismatches.
2000-10-15 04:23:54 +02:00
+LDFLAGS += ${ULDFLAGS}
OSOBJS = xsdynload.o xssystem.o unixprim.o
@@ -118,7 +120,7 @@
compiler/assemble.fsl compiler/cmpfront.fsl
xlispstat: setup.shell xlisp.wks
- ./setup.shell xlispstat ${XLSLIB}
+ ./setup.shell xlispstat ${XLSLIB} ${XLSLIBEXEC}
chmod a+x xlispstat
xlisp.wks: xlisp ${CMPFSLFILES} ${FSLFILES} ${AUTOFSLFILES}
@@ -142,10 +144,10 @@
installexecs: xlispstat xlisp installdirs
-cp xlispstat ${BINDIR}/xlispstat
- -cp xlisp ${XLSLIB}
+ -cp xlisp ${XLSLIBEXEC}
installlsp: xlisp.wks xlisp.hlp ${AUTOFSLFILES} ${CMPFSLFILES} installdirs
- -cp xlisp.wks ${XLSLIB}
+ -cp xlisp.wks ${XLSLIBEXEC}
-cp xlisp.hlp ${XLSLIB}
-cp Autoload/_autoidx.lsp Autoload/*.fsl ${XLSLIB}/Autoload
-cp Data/*.lsp ${XLSLIB}/Data
@@ -155,6 +157,7 @@
installdirs:
-mkdir -p ${BINDIR}
-mkdir -p ${XLSLIB}
+ -mkdir -p ${XLSLIBEXEC}
-mkdir ${XLSLIB}/Data
-mkdir ${XLSLIB}/Examples
-mkdir ${XLSLIB}/Autoload