head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.32 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.30 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.28 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.26 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.24 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.22 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.20 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.18 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.16 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.14 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.12 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.10 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.8 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.6 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.4 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.2 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.6.0.12 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.10 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.8 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.6 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.4 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.2 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.5.0.6 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.4 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.2 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.4.0.6 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.2 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.3.0.12 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.10 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.8 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.6 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.4 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.2 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.2.0.2 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.1.0.4 pkgsrc-2017Q3-base:1.1; locks; strict; comment @# @; 1.7 date 2022.05.24.18.25.38; author jaapb; state Exp; branches; next 1.6; commitid ksXw2AZxQuOm0lFD; 1.6 date 2020.12.09.10.33.04; author jaapb; state Exp; branches; next 1.5; commitid p548k0rEUZFfB2zC; 1.5 date 2020.01.14.19.53.35; author jaapb; state Exp; branches; next 1.4; commitid kJPPxd3cGjFnaHSB; 1.4 date 2019.08.24.10.54.23; author jaapb; state Exp; branches; next 1.3; commitid bwKhQOOrcEKUKgAB; 1.3 date 2018.01.10.14.30.35; author jaapb; state Exp; branches; next 1.2; commitid YBpqd5MncdyfYkmA; 1.2 date 2017.10.27.23.30.07; author khorben; state Exp; branches; next 1.1; commitid ed4GATWGPPRGnKcA; 1.1 date 2017.07.17.23.26.23; author wiz; state Exp; branches; next ; commitid PUpioMxmpWwIDDZz; desc @@ 1.7 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 when building ocamlyacc. --- yacc/Makefile.orig 2022-02-08 16:50:13.000000000 +0000 +++ yacc/Makefile @@@@ -38,7 +38,7 @@@@ generated_files := ocamlyacc$(EXE) $(oca all: ocamlyacc$(EXE) ocamlyacc$(EXE): $(ocamlyacc_OBJECTS) - $(MKEXE) -o $@@ $^ $(EXTRALIBS) + $(MKEXE) $(BYTECCLIBS) $(LDFLAGS) -o $@@ $^ $(EXTRALIBS) .PHONY: clean clean: @ 1.6 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 --- yacc/Makefile.orig 2020-01-10 16:10:46.000000000 +0000 d7 1 a7 1 @@@@ -39,7 +39,7 @@@@ generated_files := ocamlyacc$(EXE) $(oca d14 2 a15 2 version.h : $(ROOTDIR)/VERSION echo "#define OCAML_VERSION \"`sed -e 1q $< | tr -d '\r'`\"" > $@@ @ 1.5 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 --- yacc/Makefile.orig 2019-03-01 15:13:46.000000000 +0000 d7 2 a8 2 @@@@ -36,7 +36,7 @@@@ MKEXE_ANSI=$(MKEXE) endif d11 2 a12 2 - $(MKEXE_ANSI) -o $@@ $^ $(EXTRALIBS) + $(MKEXE_ANSI) $(BYTECCLIBS) $(LDFLAGS) -o $@@ $^ $(EXTRALIBS) @ 1.4 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 1 @ 1.3 log @Updated package lang/ocaml to version 4.06. Changes are many and can be found at https://ocaml.org/releases/4.06.html One change that breaks a lot of packages is that the safe-string compiler option is now enabled by default, which means that all modules need to use immutable strings (or explicitly use the bytes type). @ text @d4 1 a4 1 --- yacc/Makefile.orig 2017-11-03 13:52:14.000000000 +0000 d6 1 a6 1 @@@@ -28,7 +28,7 @@@@ MKEXE_ANSI=$(MKEXE) d9 3 a11 3 ocamlyacc$(EXE): $(OBJS) - $(MKEXE_ANSI) -o ocamlyacc$(EXE) $(OBJS) $(EXTRALIBS) + $(MKEXE_ANSI) $(BYTECCLIBS) -o ocamlyacc$(EXE) $(OBJS) $(EXTRALIBS) d13 2 a14 2 version.h : ../VERSION echo "#define OCAML_VERSION \"`sed -e 1q $^ | tr -d '\r'`\"" > $@@ @ 1.2 log @Really honour LDFLAGS when building ocamlyacc This fixes building lang/ocaml with RELRO. @ text @d1 1 a1 1 $NetBSD: patch-yacc_Makefile,v 1.1 2017/07/17 23:26:23 wiz Exp $ d4 1 a4 2 --- yacc/Makefile.orig 2017-07-13 08:56:45.000000000 +0000 d6 2 a7 2 @@@@ -33,7 +33,7 @@@@ OBJS= closure.$(O) error.$(O) lalr.$(O) all: ocamlyacc$(EXE) d10 2 a11 2 - $(MKEXE) -o ocamlyacc$(EXE) $(OBJS) $(EXTRALIBS) + $(MKEXE) $(BYTECCLIBS) -o ocamlyacc$(EXE) $(OBJS) $(EXTRALIBS) @ 1.1 log @Honor LDFLAGS. Fixes RELRO build. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- yacc/Makefile.orig 2017-06-23 15:13:40.000000000 +0000 d7 1 a7 1 @@@@ -27,7 +27,7 @@@@ OBJS= closure.$(O) error.$(O) lalr.$(O) d12 1 a12 1 + $(MKEXE) $(BYTECCLINKOPTS) -o ocamlyacc$(EXE) $(OBJS) $(EXTRALIBS) @