pkgsrc/lang/mzscheme/patches/patch-af
pooka da746ae526 Import mzscheme-101, an almost R5RS-compliant scheme intepreter with
compiler included. Uses the boehm garbage collector.

A big thanks goes to all who made devel/boehm-gc available. Modifying
patches for a specific use is much easier than reinventing them!

Note: I've marked this as i386-only, since it acted a little flacky on
alpha and sparc. In theory support for at least those platforms supported
by the garbage collector is possible. You are welcome to try.
2000-01-10 22:09:15 +00:00

19 lines
600 B
Text

$NetBSD: patch-af,v 1.1.1.1 2000/01/10 22:09:15 pooka Exp $
--- ../../bin/mzc.orig Thu May 14 00:35:57 1998
+++ ../../bin/mzc Sat Jan 8 23:21:59 2000
@@ -1,11 +1,9 @@
#!/bin/sh
-# This script was created by make-mzscheme-launcher
+# This script was modified for the NetBSD pkg system
if [ "$PLTHOME" = '' ] ; then
- PLTHOME=/usr/local/lib/plt
+ PLTHOME=XXXPREFIXXXX/lib/plt
export PLTHOME
fi
-SYS=`${PLTHOME}/bin/archsys`
-
-exec ${PLTHOME}/.bin/${SYS}/mzscheme '-mqvL' 'start.ss' 'compiler' '--' ${1+"$@"}
+exec ${PLTHOME}/bin/mzscheme '-mqvL' 'start.ss' 'compiler' '--' ${1+"$@"}