summaryrefslogtreecommitdiff
path: root/lang/drscheme/patches/patch-af
blob: a0bda2c5ad9693b8dee1f9bc979d029f8531ab07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-af,v 1.2 2001/09/05 03:52:47 groo 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+"$@"}