freebsd-ports/math/isabelle/files/patch-lib-scripts-run_smlnj
Edwin Groothuis 0002baf188 [MAINTAINER] math/isabelle: update from 2007 to 2008
Updates the port to the latest Isabelle release. It does
	not seem worth the effort to continually patch the bash
	script files to make them work under sh, hence the large
	number of removed files.

PR:		ports/126067
Submitted by:	Timothy Bourke <timbob@bigpond.com>
2008-08-15 04:33:04 +00:00

25 lines
686 B
Text

--- lib/scripts/run-smlnj.orig 2004-06-21 18:25:58.000000000 +1000
+++ lib/scripts/run-smlnj 2008-07-29 15:49:30.000000000 +1000
@@ -39,11 +39,10 @@
## compiler binaries
+export SMLNJ_DEVEL=yes
SML="$ML_HOME/sml"
-ARCH_N_OPSYS="$ML_HOME/.arch-n-opsys"
check_mlhome_file "$SML"
-check_mlhome_file "$ARCH_N_OPSYS"
@@ -84,8 +83,7 @@
## fix heap file name and permissions
if [ -n "$OUTFILE" ]; then
- eval $("$ARCH_N_OPSYS")
- [ -z "$HEAP_SUFFIX" ] && HEAP_SUFFIX="$ARCH-$OPSYS"
+ [ -z "$HEAP_SUFFIX" ] && HEAP_SUFFIX="$ML_PLATFORM"
HEAP="$OUTFILE.$HEAP_SUFFIX"
check_heap_file "$HEAP" && mv "$HEAP" "$OUTFILE" && \
[ -n "$NOWRITE" ] && chmod -w "$OUTFILE"