ports/155155: [update] lang/ocaml to 3.12.0
Jaap Boender
jaapb at kerguelen.org
Tue Mar 1 14:10:12 UTC 2011
>Number: 155155
>Category: ports
>Synopsis: [update] lang/ocaml to 3.12.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 01 14:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jaap Boender
>Release: 8.2-STABLE
>Organization:
>Environment:
FreeBSD vanrossum.irill.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Feb 25 15:52:06 CET 2011 root at vanrossum.irill.org:/usr/obj/usr/src/sys/VANROSSUM amd64
>Description:
This is an update of the lang/ocaml port to the newest upstream version, 3.12.0.
Highlights in this new release include:
* Polymorphic recursion is supported, using explicit type declarations on the recursively-defined identifiers.
* First-class modules: module expressions can be embedded as values of the core language, then manipulated like any other first-class value, then projected back to the module level.
* New operator to modify a signature a posteriori: S with type t := tau denotes signature S where the t type component is removed and substituted by the type tau elsewhere.
* New notations for record expressions and record patterns: { lbl } as shorthand for { lbl = lbl }, and { ...; _ } marks record patterns where some labels were intentionally omitted.
* Local open let open ... in ... now supported by popular demand.
* Type variables can be bound as type parameters to functions; such types are treated like abstract types within the function body, and like type variables (possibly generalized) outside.
* The module type of construct enables to recover the module type of a given module.
* Explicit method override using the method! keyword, with associated warnings and errors.
>How-To-Repeat:
n/a
>Fix:
Patch to the port directory included. (no great changes; one patch slightly modified and that's it)
Patch attached with submission follows:
diff -Naur ocaml/Makefile ocaml-new/Makefile
--- ocaml/Makefile 2010-03-22 10:37:40.000000000 +0100
+++ ocaml-new/Makefile 2011-03-01 15:01:43.825881491 +0100
@@ -6,8 +6,7 @@
#
PORTNAME= ocaml
-PORTVERSION= 3.11.2
-PORTREVISION= 0
+PORTVERSION= 3.12.0
CATEGORIES= lang
MASTER_SITES= http://caml.inria.fr/distrib/${DISTNAME:R}/ \
ftp://ftp.inria.fr/INRIA/caml-light/${DISTNAME:R}/ \
diff -Naur ocaml/distinfo ocaml-new/distinfo
--- ocaml/distinfo 2010-03-09 23:45:47.000000000 +0100
+++ ocaml-new/distinfo 2011-03-01 14:45:02.289569334 +0100
@@ -1,3 +1,2 @@
-MD5 (ocaml-3.11.2.tar.bz2) = 4601a7aea66444d61704de8de46c52c6
-SHA256 (ocaml-3.11.2.tar.bz2) = 86f3387a0d7e7c8be2a3c53af083a5a726e333686208d5ea0dd6bb5ac3f58143
-SIZE (ocaml-3.11.2.tar.bz2) = 2346284
+SHA256 (ocaml-3.12.0.tar.bz2) = 17811756209ec9658e1027b0d3b8e5dedb772ca1c43e0bdfa630a2a183ffec3b
+SIZE (ocaml-3.12.0.tar.bz2) = 2639049
diff -Naur ocaml/files/patch-camlp4-man_Makefile ocaml-new/files/patch-camlp4-man_Makefile
--- ocaml/files/patch-camlp4-man_Makefile 2009-04-11 15:23:04.000000000 +0200
+++ ocaml-new/files/patch-camlp4-man_Makefile 2011-03-01 14:46:38.310790956 +0100
@@ -1,5 +1,5 @@
---- ./camlp4/man/Makefile.orig 2008-10-27 23:03:31.000000000 +0900
-+++ ./camlp4/man/Makefile 2009-01-21 01:35:26.000000000 +0900
+--- ./camlp4/man/Makefile.orig 2010-01-22 13:48:24.000000000 +0100
++++ ./camlp4/man/Makefile 2011-03-01 14:45:22.145615913 +0100
@@ -3,7 +3,6 @@
include ../config/Makefile.cnf
@@ -13,9 +13,9 @@
$(MKDIR) $(MANDIR)/man1 ; \
cp $(TARGET) $(MANDIR)/man1/. ; \
- for i in $(ALIASES); do \
-- rm -f $(MANDIR)/man1/$$i; \
-- echo '.so man1/$(TARGET)' > $(MANDIR)/man1/$$i; \
-- done; \
+- rm -f $(MANDIR)/man1/$$i; \
+- echo '.so man1/$(TARGET)' > $(MANDIR)/man1/$$i; \
+- done; \
fi
camlp4.1: camlp4.1.tpl
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list