ports/99584: Update of ports/lang/mlton removing breakage
jlouis at mongers.org
jlouis at mongers.org
Wed Jun 28 15:41:21 UTC 2006
>Number: 99584
>Category: ports
>Synopsis: update ports/lang/mlton removing breakage
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 28 15:40:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Jesper Louis Andersen
>Release: FreeBSD 6.1-STABLE i386
>Organization:
N/A
>Environment:
System: FreeBSD succubus.home 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun 23 00:28:23 CEST 2006 root at succubus.home:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The port lang/mlton is marked BROKEN because its bootstrap file uses
an old libgmp (.6) rather than the newer libgmp (.7). This means
dynamic link errors when trying to execute the bootstrap image to
build mlton.
>How-To-Repeat:
cd /usr/ports/lang/mlton && make build
Should report "marked as BROKEN"
>Fix:
We are 3 maintainers all in all, but the FreeBSD ports systems
MAINTAINER Makefile variable only seems to support a single
name. Therefore, I have added other maintainers as comments. Please
do check with the original maintainer that this is the intended
behaviour.
Patch follows:
--- Makefile.orig Mon May 22 00:00:28 2006
+++ Makefile Wed Jun 28 16:20:28 2006
@@ -12,13 +12,16 @@
PORTNAME= mlton
PORTVERSION= 20051202
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://mlton.org/pages/Download/attachments/ \
http://mlton.org/pages/Experimental/attachments/
+
DISTFILES= ${BOOT_DIST} ${SRC_DIST}
EXTRACT_ONLY= ${SRC_DIST}
+# Other maintainers are Geoffrey Mainland (mainland at apeiron.net)
+# and Jesper Louis Andersen (jlouis at mongers.org)
MAINTAINER= sweeks at sweeks.com
COMMENT= An optimizing Standard ML compiler
@@ -31,10 +34,8 @@
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
-BROKEN= Prebuilt binary depends on old version of libgmp
-
SRC_DIST= ${DISTNAME}-1.freebsd.src.tgz
-BOOT_DIST= ${PORTNAME}-${BOOT_VER}-1.${MACHINE_ARCH}-freebsd.${BOOT_SUF}
+BOOT_DIST= ${PORTNAME}-${BOOT_VER}-1-1.${MACHINE_ARCH}-freebsd.${BOOT_SUF}
ONLY_FOR_ARCHS= i386
@@ -106,6 +107,7 @@
.if defined(MAINTAINER_MODE)
RELEASE ?= 1
+PORTSLEVEL ?= 1
PKGORIGIN=${PKGCATEGORY}/${PORTNAME}
@@ -118,15 +120,15 @@
${MAKE} install
${MAKE} package
${MAKE} deinstall
- pkg_add ${PORTNAME}-${PORTVERSION}.tbz
+ pkg_add ${PORTNAME}-${PORTVERSION}_1.tbz
${MAKE} deinstall
${MAKE} reinstall
${MAKE} package
- ${CP} ${PORTNAME}-${PORTVERSION}.tbz \
- ${DISTDIR}/${PORTNAME}-${PORTVERSION}-${RELEASE}.i386-freebsd.tbz
- ${TAR} -cpf - Makefile distinfo pkg-descr pkg-plist | \
- ( ${MKDIR} ${PORTDIR} && cd ${PORTDIR} && ${TAR} -xpf - )
- shar `find ${PORTDIR}` >/tmp/mlton-${PORTVERSION}-portdir.shar
+ ${CP} ${PORTNAME}-${PORTVERSION}_1.tbz \
+ ${DISTDIR}/${PORTNAME}-${PORTVERSION}-${RELEASE}-${PORTSLEVEL}.i386-freebsd.tbz
+# ${TAR} -cpf - Makefile distinfo pkg-descr pkg-plist | \
+# ( ${MKDIR} ${PORTDIR} && cd ${PORTDIR} && ${TAR} -xpf - )
+# shar `find ${PORTDIR}` >/tmp/mlton-${PORTVERSION}-portdir.shar
TMP_PLIST= tmp-pkg-plist
PLIST= ${.CURDIR}/pkg-plist
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list