Modified: trunk/dports/lang/smlnj/Portfile (81704 => 81705)
--- trunk/dports/lang/smlnj/Portfile 2011-08-04 14:36:41 UTC (rev 81704)
+++ trunk/dports/lang/smlnj/Portfile 2011-08-04 14:39:50 UTC (rev 81705)
@@ -73,7 +73,8 @@
extract.only config.tgz
### patch ###
-patchfiles patch-install.sh.diff
+patchfiles patch-install.sh.diff \
+ patch-config-_arch-n-opsys.diff
### configure ###
configure {
Added: trunk/dports/lang/smlnj/files/patch-config-_arch-n-opsys.diff (0 => 81705)
--- trunk/dports/lang/smlnj/files/patch-config-_arch-n-opsys.diff (rev 0)
+++ trunk/dports/lang/smlnj/files/patch-config-_arch-n-opsys.diff 2011-08-04 14:39:50 UTC (rev 81705)
@@ -0,0 +1,11 @@
+--- config/_arch-n-opsys.orig 2010-02-03 17:40:28.000000000 +0100
++++ config/_arch-n-opsys 2011-08-02 09:01:33.000000000 +0200
+@@ -64,6 +64,7 @@
+ 8*) OPSYS=darwin; HEAP_OPSYS=darwin ;; # MacOS X 10.4
+ 9*) OPSYS=darwin; HEAP_OPSYS=darwin ;; # MacOS X 10.5
+ 10*) OPSYS=darwin; HEAP_OPSYS=darwin ;; # MacOS X 10.6
++ 11*) OPSYS=darwin; HEAP_OPSYS=darwin ;; # MacOS X 10.7
+ *) exit 1;;
+ esac;;
+ esac
+