$OpenBSD: patch-config__heap2exec,v 1.2 2013/02/15 12:06:11 sthen Exp $
--- config/_heap2exec.orig	Thu Apr 20 19:28:53 2006
+++ config/_heap2exec	Tue Feb 12 23:18:58 2013
@@ -1,4 +1,5 @@
 #!@SHELL@
+[ -z "$SMLNJ_HOME" ] && SMLNJ_HOME=${TRUEPREFIX}/smlnj
 
 CMD=`basename "$0"`
 
