head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.32 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.30 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.28 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.26 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.24 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.22 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.20 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.18 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.16 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.14 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.12 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.10 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.8 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.6 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.4 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.2 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.3.0.12 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.10 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.8 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.6 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.4 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.2 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.2.0.6 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.1.0.6 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.2 pkgsrc-2019Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2022.05.24.18.25.38; author jaapb; state Exp; branches; next 1.3; commitid ksXw2AZxQuOm0lFD; 1.3 date 2020.12.09.10.33.04; author jaapb; state Exp; branches; next 1.2; commitid p548k0rEUZFfB2zC; 1.2 date 2020.01.14.19.53.35; author jaapb; state Exp; branches; next 1.1; commitid kJPPxd3cGjFnaHSB; 1.1 date 2019.08.24.10.54.23; author jaapb; state Exp; branches; next ; commitid bwKhQOOrcEKUKgAB; desc @@ 1.4 log @Updated lang/ocaml to version 4.14.0. This is a long-overdue update, so there are many changes. Details are in the Changes file in the distribution. The mk/ocaml file will be moved to lang/ocaml and the logic for selecting whether to use the native-code compiler will be factored out into native.mk to avoid duplications. This is the final version before OCaml 5.0 arrives, which has multicore support and should be a major change from the 4.x versions. @ text @$NetBSD$ Honor LDFLAGS. --- lex/Makefile.orig 2021-09-30 15:40:11.000000000 +0000 +++ lex/Makefile @@@@ -31,7 +31,7 @@@@ CAMLC = $(BOOT_OCAMLC) -strict-sequence CAMLOPT = $(OCAMLRUN) $(ROOTDIR)/ocamlopt$(EXE) -nostdlib -I $(ROOTDIR)/stdlib COMPFLAGS = -absname -w +a-4-9-41-42-44-45-48-70 -warn-error +A \ -safe-string -strict-sequence -strict-formats -bin-annot -LINKFLAGS = +LINKFLAGS = -cclib "$(LDFLAGS)" CAMLDEP = $(BOOT_OCAMLC) -depend DEPFLAGS = -slash DEPINCLUDES = @@@@ -52,7 +52,7 @@@@ ocamllex$(EXE): $(OBJS) $(CAMLC) $(LINKFLAGS) -compat-32 -o $@@ $^ ocamllex.opt$(EXE): $(OBJS:.cmo=.cmx) - $(CAMLOPT_CMD) -o $@@ $^ + $(CAMLOPT_CMD) $(LINKFLAGS) -o $@@ $^ clean:: rm -f $(programs) $(programs:=.exe) @ 1.3 log @Updated lang/ocaml to 4.11.1. Patches for solaris and friends are reinstated (thanks jperkin@@) Also thanks to he@@ for testing on powerpc and arm Highlights for 4.10.0: * A new best-fit allocator for the major heap which reducing both GC cost and memory usage. * Immutable strings are now enforced at configuration time * User-defined indexing operators for multidimensional arrays * Miscellaneous improvements to the manual * A more precise exhaustiveness check for GADTs * Many bug fixes Highlights for 4.11.0: * Statmemprof: a new statistical memory profiler * A new instrumented runtime that logs runtime statistics in a standard format * A native backend for the RISC-V architecture * Improved backtraces that refer to function names * Suppport for recursive and yet unboxed types * A quoted extension syntax for ppxs. * Many quality of life improvements * Many bug fixes. 4.11.1 is a bugfix release. Full details in the CHANGELOG included with the distribution. @ text @d5 1 a5 1 --- lex/Makefile.orig 2020-01-10 16:10:46.000000000 +0000 d7 3 a9 3 @@@@ -27,7 +27,7 @@@@ CAMLC = $(BOOT_OCAMLC) -strict-sequence CAMLOPT = $(CAMLRUN) $(ROOTDIR)/ocamlopt -nostdlib -I $(ROOTDIR)/stdlib COMPFLAGS = -absname -w +a-4-9-41-42-44-45-48 -warn-error A \ a12 2 YACCFLAGS = -v CAMLLEX = $(CAMLRUN) $(ROOTDIR)/boot/ocamllex d14 4 a17 2 @@@@ -46,7 +46,7 @@@@ ocamllex: $(OBJS) $(CAMLC) $(LINKFLAGS) -compat-32 -o ocamllex $(OBJS) d19 3 a21 3 ocamllex.opt: $(OBJS:.cmo=.cmx) - $(CAMLOPT_CMD) -o ocamllex.opt $(OBJS:.cmo=.cmx) + $(CAMLOPT_CMD) $(LINKFLAGS) -o ocamllex.opt $(OBJS:.cmo=.cmx) d24 1 a24 1 rm -f ocamllex ocamllex.opt @ 1.2 log @Updated lang/ocaml to version 4.09.0. Highlights of this release are: * new optimisations, in particular for affine functions in matches; * the graphics library was moved out of the main distribution; * the vmthread library was removed; * support for compiler plugins was removed; * many bug fixes. For more details see the Changes file in the distribution. @ text @d5 1 a5 1 --- lex/Makefile.orig 2019-09-11 14:40:30.000000000 +0000 d9 1 a9 1 COMPFLAGS = $(INCLUDES) -absname -w +a-4-9-41-42-44-45-48 -warn-error A \ @ 1.1 log @Updated lang/ocaml to 4.08.1. 4.08.1 is a bugfix release, fixing compilation failures in presence of the -pack option, and dynlinking failures. Highlights in 4.08.0 are: * Binding operators (let*, let+, and*, etc). They can be used to streamline monadic code. * open now applies to arbitrary module expression in structures and to applicative paths in signatures. * A new notion of (user-defined) "alerts" generalizes the deprecated warning. * New modules in the standard library: Fun, Bool, Int, Option, Result. * A significant number of new functions in Float, including FMA support, and a new Float.Array submodule. * Source highlighting for errors and warnings in batch mode. * Many error messages were improved. * Improved AFL instrumentation for objects and lazy values. @ text @d4 2 a5 1 --- lex/Makefile.orig 2019-03-01 15:13:45.000000000 +0000 d7 1 a7 1 @@@@ -28,7 +28,7 @@@@ CAMLC = $(CAMLRUN) $(ROOTDIR)/boot/ocaml d15 2 a16 2 CAMLDEP = $(CAMLRUN) $(ROOTDIR)/boot/ocamlc -depend @@@@ -47,7 +47,7 @@@@ ocamllex: $(OBJS) @