$NetBSD: patch-dc,v 1.2 2001/09/05 03:52:48 groo Exp $ --- ../bin/drscheme.orig Sat May 20 16:33:51 2000 +++ ../bin/drscheme Sat May 20 16:34:28 2000 @@ -1,13 +1,12 @@ #!/bin/sh # This script was created by make-mred-launcher +# and 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` - # Find X flags and shift them to the front findxend() { @@ -66,7 +65,7 @@ xn=yes ;; *) - exec ${PLTHOME}/.bin/${SYS}/mred ${xa+"-display"} ${xa+"$xa"} ${xb+"-geometry"} ${xb+"$xb"} ${xc+"-bg"} ${xc+"$xc"} ${xd+"-fg"} ${xd+"$xd"} ${xe+"-font"} ${xe+"$xe"} ${xf+"-name"} ${xf+"$xf"} ${xg+"-selectionTimeout"} ${xg+"$xg"} ${xh+"-title"} ${xh+"$xh"} ${xi+"-xnllanguage"} ${xi+"$xi"} ${xj+"-xrm"} ${xj+"$xj"} ${xk+"-iconic"} ${xl+"-rv"} ${xm+"+rv"} ${xn+"-synchronous"} '-mqvL' 'drscheme.ss' 'drscheme' '--' ${1+"$@"} + exec ${PLTHOME}/bin/mred ${xa+"-display"} ${xa+"$xa"} ${xb+"-geometry"} ${xb+"$xb"} ${xc+"-bg"} ${xc+"$xc"} ${xd+"-fg"} ${xd+"$xd"} ${xe+"-font"} ${xe+"$xe"} ${xf+"-name"} ${xf+"$xf"} ${xg+"-selectionTimeout"} ${xg+"$xg"} ${xh+"-title"} ${xh+"$xh"} ${xi+"-xnllanguage"} ${xi+"$xi"} ${xj+"-xrm"} ${xj+"$xj"} ${xk+"-iconic"} ${xl+"-rv"} ${xm+"+rv"} ${xn+"-synchronous"} '-mqvL' 'drscheme.ss' 'drscheme' '--' ${1+"$@"} ;; esac shift