head	1.1;
access;
symbols
	pkgsrc-2026Q1:1.1.0.32
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.30
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.28
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.26
	pkgsrc-2025Q2-base:1.1
	pkgsrc-2025Q1:1.1.0.24
	pkgsrc-2025Q1-base:1.1
	pkgsrc-2024Q4:1.1.0.22
	pkgsrc-2024Q4-base:1.1
	pkgsrc-2024Q3:1.1.0.20
	pkgsrc-2024Q3-base:1.1
	pkgsrc-2024Q2:1.1.0.18
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.16
	pkgsrc-2024Q1-base:1.1
	pkgsrc-2023Q4:1.1.0.14
	pkgsrc-2023Q4-base:1.1
	pkgsrc-2023Q3:1.1.0.12
	pkgsrc-2023Q3-base:1.1
	pkgsrc-2023Q2:1.1.0.10
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.8
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.6
	pkgsrc-2022Q4-base:1.1
	pkgsrc-2022Q3:1.1.0.4
	pkgsrc-2022Q3-base:1.1
	pkgsrc-2022Q2:1.1.0.2
	pkgsrc-2022Q2-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2022.05.24.18.25.38;	author jaapb;	state Exp;
branches;
next	;
commitid	ksXw2AZxQuOm0lFD;


desc
@@


1.1
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$

Install manpages with correct suffix

--- api_docgen/ocamldoc/Makefile.orig	2022-02-21 15:57:25.000000000 +0000
+++ api_docgen/ocamldoc/Makefile
@@@@ -19,7 +19,7 @@@@ include ../../ocamldoc/Makefile.best_oca
 vpath %.mli ../../stdlib $(DOC_COMPILERLIBS_DIRS)  $(DOC_STDLIB_DIRS)
 
 
-man: build/man/Stdlib.3o
+man: build/man/Stdlib.3
 latex: build/latex/Stdlib.tex
 html: \
   build/html/libref/Stdlib.html \
@@@@ -34,7 +34,7 @@@@ DOC_ALL_INCLUDES = \
 
 libref=$(stdlib_UNPREFIXED) $(otherlibref)
 
-ALL_MAN= $(ALL_DOC:%=build/man/%.3o)
+ALL_MAN= $(ALL_DOC:%=build/man/%.3)
 ALL_LATEX= $(ALL_DOC:%=build/latex/%.tex)
 
 build/latex/ifocamldoc.tex: | build/latex
@@@@ -60,7 +60,7 @@@@ build/libref/%.odoc: build/%.mld | build
 	$(OCAMLDOC_RUN) $(DOC_STDLIB_INCLUDES) -text $< -dump  $@@
 
 ALL_COMPILED_DOC=$(ALL_DOC:%=build/%.odoc)
-build/man/Stdlib.3o: $(ALL_COMPILED_DOC) | build/man
+build/man/Stdlib.3: $(ALL_COMPILED_DOC) | build/man
 	$(OCAMLDOC_RUN) -man -d build/man -man-mini \
 	-nostdlib -hide Stdlib -lib Stdlib -t "OCaml library" \
 	$(addprefix -load , $(ALL_COMPILED_DOC))
@@@@ -123,5 +123,5 @@@@ build/latex/compilerlibs_input.tex: | bu
 install:
 	$(MKDIR) "$(INSTALL_LIBRARIES_MAN_DIR)"
 	if test -d build/man; then \
-	  $(INSTALL_DATA) build/man/*.3o "$(INSTALL_LIBRARIES_MAN_DIR)"; \
+	  $(INSTALL_DATA) build/man/*.3 "$(INSTALL_LIBRARIES_MAN_DIR)"; \
 	fi
@
