head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1;
locks; strict;
comment	@# @;


1.1
date	2008.12.10.08.44.24;	author stefan;	state Exp;
branches;
next	;


desc
@@


1.1
log
@This patch adds three features to the lang/mlton port:
* Support for FreeBSD 6.x
* Support for compilation with SML/NJ
* Cross-compilation with mingw32

PR:		124061
Submitted by:	Timothy Bourke <timbob@@bigpond.com>
Approved by:	maintainer
@
text
@--- bin/mlton-script.orig	2008-04-22 21:15:23.000000000 +1000
+++ bin/mlton-script	2008-04-22 21:18:33.000000000 +1000
@@@@ -19,14 +19,7 @@@@
 mlton="$lib/mlton-compile$exe"
 world="$lib/world.mlton"
 nj='sml'
-# Try to use the SML/NJ .arch-n-opsys
-if .arch-n-opsys >/dev/null 2>&1; then
-        eval `.arch-n-opsys`
-        njHeap="$lib/mlton.$HEAP_SUFFIX"
-        unset `.arch-n-opsys | sed 's#=[^ ]*##g'`
-else
-        njHeap="$lib/mlton.$HOST_ARCH-$HOST_OS"
-fi
+njHeap="$lib/mlton.x86-bsd"
 
 declare -a rargs
 case "$1" in
@
