head 1.4; access; symbols pkgsrc-2018Q1:1.3.0.2 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.2.0.6 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.4 pkgsrc-2017Q3-base:1.2; locks; strict; comment @# @; 1.4 date 2018.04.04.09.56.56; author jaapb; state dead; branches; next 1.3; commitid lxxqkJAJ3JuQK6xA; 1.3 date 2018.01.10.15.02.30; author jaapb; state Exp; branches; next 1.2; commitid cYg1nEMlUQzI9lmA; 1.2 date 2017.09.08.11.51.36; author jaapb; state Exp; branches; next 1.1; commitid A04cC9Qg5lpX4o6A; 1.1 date 2017.07.11.11.14.58; author jaapb; state Exp; branches; next ; commitid yXfp2HpFjkfJMNYz; desc @@ 1.4 log @Updated devel/ocaml-jbuilder to version 1.0+beta19.1. The biggest change is that the package is now called 'dune' rather than 'jbuilder'; I'm waiting until the package comes out of beta to apply that name change to pkgsrc. Otherwise there have been mostly incremental changes and bugfixes, nothing major; for more information see CHANGES.md. @ text @$NetBSD: patch-Makefile,v 1.3 2018/01/10 15:02:30 jaapb Exp $ Use MAKE_JOBS rather than default number --- Makefile.orig 2017-11-06 09:40:51.000000000 +0000 +++ Makefile @@@@ -4,10 +4,10 @@@@ BIN := ./_build/default/bin/main.exe -include Makefile.dev default: boot.exe - ./boot.exe -j 4 --dev + ./boot.exe -j ${MAKE_JOBS} --dev release: boot.exe - ./boot.exe -j 4 + ./boot.exe -j ${MAKE_JOBS} boot.exe: bootstrap.ml ocaml bootstrap.ml @ 1.3 log @Updated devel/ocaml-jbuilder to latest version, 1.0+beta16. Changes are minor, non-breaking bugfixes, see CHANGES.md. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Updated package to latest version, 1.0+beta13. Changes include: 1.0+beta13 (05/09/2017) Generate toplevel html index for documentation (#224, Thomas Gazagnaire) Fix recompilation of native artifacts. Regression introduced in the last version (1.0+beta12) when digests replaces timestamps for checking staleness (#238, David Allsopp) 1.0+beta12 (18/08/2017) Fix the quoting of FLG lines in generated .merlin files (#200, Marcello Seri) Use the full path of archive files when linking. Before jbuilder would do: -I file.cmxa, now it does -I /file.cmxa. Fixes #118 and #177 Use an absolute path for ppx drivers in .merlin files. Merlin <3.0.0 used to run ppx commands from the directory where the .merlin was present but this is no longer the case Allow to use jbuilder install in contexts other than opam; if ocamlfind is present in the PATH and the user didn't pass --prefix or --libdir explicitly, use the output of ocamlfind printconf destdir as destination directory for library files (#179, Francois Bobot) Allow (:include ...) forms in all *flags fields (#153, David Allsopp) Add a utop subsommand. Running jbuilder utop in a directory builds and executes a custom utop toplevel with all libraries defined in the current directory (#183, Rudi Grinberg) Do not accept per_file anymore in preprocess field. per_file was renamed per_module and it is planned to reuse per_file for another purpose Warn when a file is both present in the source tree and generated by a rule. Before, jbuilder would silently ignore the rule. One now has to add a field (fallback) to custom rules to keep the current behavior (#218) Get rid of the deprecated-ppx-method findlib package for ppx rewriters (#222, fixes #163) Use digests (MD5) of files contents to detect changes rather than just looking at the timestamps. We still use timestamps to avoid recomputing digests. The performance difference is negligible and we avoid more useless recompilations, especially when switching branches for instance (#209, fixes #158) 1.0+beta11 (21/07/2017) Fix the error message when there are more than one .opam file for a given pacakge Report an error when in a wrapped library, a module that is not the toplevel module depends on the toplevel module. This doesn't make as such a module would in theory be inaccessible from the outside Add ${SCOPE_ROOT} pointing to the root of the current scope, to fix some misuses of ${ROOT} Fix useless hint when all missing dependencies are optional (#137) Fix a bug preventing one from generating META.pkg.template with a custom rule (#190) Fix compilation of reason projects: .rei files where ignored and caused the build to fail (#184) @ text @d4 1 a4 1 --- Makefile.orig 2017-08-18 23:51:31.000000000 +0000 d6 2 a7 2 @@@@ -2,10 +2,10 @@@@ INSTALL_ARGS := $(if $(PREFIX),--prefix BIN := ./_build/default/bin/main.exe @ 1.1 log @Added devel/ocaml-jbuilder, a build system for OCaml packages. @ text @d4 1 a4 1 --- Makefile.orig 2017-04-17 13:50:54.000000000 +0000 d6 1 a6 1 @@@@ -2,7 +2,7 @@@@ INSTALL_ARGS := $(if $(PREFIX),--prefix d13 4 @