[MLton-commit] r4289

Stephen Weeks MLton@mlton.org
Thu, 8 Dec 2005 12:07:16 -0800


Patch from Geoff Mainlaind for FreeBSD packaging.

----------------------------------------------------------------------

U   mlton/trunk/package/freebsd/Makefile

----------------------------------------------------------------------

Modified: mlton/trunk/package/freebsd/Makefile
===================================================================
--- mlton/trunk/package/freebsd/Makefile	2005-12-08 16:31:53 UTC (rev 4288)
+++ mlton/trunk/package/freebsd/Makefile	2005-12-08 20:07:14 UTC (rev 4289)
@@ -18,7 +18,7 @@
 DISTFILES=	${BOOT_DIST} ${SRC_DIST}
 EXTRACT_ONLY=	${SRC_DIST}
 
-MAINTAINER=	MLton@mlton.org
+MAINTAINER=	sweeks@sweeks.com and mainland@apeiron.net
 COMMENT=	An optimizing Standard ML compiler
 
 BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash
@@ -54,21 +54,21 @@
 INSTALL_TARGET=	install-no-docs
 .endif
 
-PORTDIR=	usr/ports/lang/mlton
+MANUAL_PACKAGE_BUILD=	"Requires at least 512MB of dedicated heap to build."
 
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} >= 600000
-LIB_DEPENDS+=	c.5:${PORTSDIR}/misc/compat5x
+BUILD_DEPENDS+=	${LOCALBASE}/lib/compat/libc.so.5:${PORTSDIR}/misc/compat5x
 .endif
 
-.if ${OSVERSION} >= 503000
-LIB_DEPENDS+=	m.2:${PORTSDIR}/misc/compat4x
+.if ${OSVERSION} < 504000
++BROKEN=		"Cannot bootstrap on FreeBSD < 5.4"
 .endif
 
 BOOT_EXTRACT=	--bzip2
 BOOT_SUF=	tbz
-BOOT_VER=	20041109
+BOOT_VER=	20051202
 
 post-extract:
 	@${MKDIR} ${BOOT_WRKSRC}