head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2016.05.05.15.58.59; author jaapb; state dead; branches; next 1.1; commitid A66HBOJww6dSej5z; 1.1 date 2016.05.05.10.54.56; author jaapb; state Exp; branches; next ; commitid bWYORSdZqr0Byh5z; desc @@ 1.2 log @Updated package to version 0.9.2. Changes include: OCamlbuild 0.9.2 is a release to support OCaml 4.03. Martin Neuhäußer contributed new flags for flambda-specific optimization options. We also extend the scope of the flags -opaque and -for-pack, to align with 4.03 best practices. Note that OCamlbuild should still work correctly under older OCaml releases. - 67: Add support for flambda's optimization parameters The flags are named according to the flambda options with two exceptions: optimization_rounds(int) for -rounds optimize({2,3,classic}) for -O{2,3,classic} (Martin Neuhäußer) - 70 (pratial): fix hygiene complains about the build directory under Windows (Andreas Hauptmann, Gabriel Scherer) - 73: also pass predicates(foo) to ocamldep (Jérémie Dimino) - extend the scope of the -opaque flag under 4.03 (Gabriel Scherer) - extend the scope of the -for-pack flag to ocamlc, as recommend by OCaml compiler maintainers in [5996](http://caml.inria.fr/mantis/view.php?id=5995#c13339) (Gabriel Scherer) @ text @$NetBSD: patch-Makefile,v 1.1 2016/05/05 10:54:56 jaapb Exp $ --- Makefile.orig 2016-02-29 18:05:35.000000000 +0000 +++ Makefile @@@@ -176,7 +176,7 @@@@ beforedepend:: src/glob_lexer.ml configure: Makefile.config src/ocamlbuild_config.ml Makefile.config src/ocamlbuild_config.ml: - $(MAKE) -f configure.make $@@ + OCAMLBUILD_LIBDIR=${PREFIX}/lib/ocaml $(MAKE) -f configure.make $@@ clean:: rm -f Makefile.config src/ocamlbuild_config.ml @ 1.1 log @Updated package to ignore findlib if installed. Slightly clunky solution, but apparently the OCAMLBUILD_LIBDIR variable doesn't get passed on properly when set in MAKE_ENV. @ text @d1 1 a1 1 $NetBSD$ @