From 870dacf792f3ef481095a95da4a8480d67ebacfb Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 21 Dec 2022 22:20:43 +0100 Subject: [PATCH] ocamlbuild: update to 0.14.3. Support bytecode-only. --- srcpkgs/ocamlbuild/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/ocamlbuild/template b/srcpkgs/ocamlbuild/template index 188b9b23dc0..2cb928255b9 100644 --- a/srcpkgs/ocamlbuild/template +++ b/srcpkgs/ocamlbuild/template @@ -1,6 +1,6 @@ # Template file for 'ocamlbuild' pkgname=ocamlbuild -version=0.14.2 +version=0.14.3 revision=1 build_style=gnu-makefile hostmakedepends="ocaml" @@ -9,7 +9,11 @@ maintainer="Leah Neukirchen " license="LGPL-2.0-only" homepage="https://github.com/ocaml/ocamlbuild" distfiles="https://github.com/ocaml/${pkgname}/archive/${version}.tar.gz" -checksum=62d2dab6037794c702a83ac584a7066d018cf1645370d1f3d5764c2b458791b1 +checksum=ce151bfd2141abc6ee0b3f25ba609e989ff564a48bf795d6fa7138a4db0fc2e1 nocross=yes export CHECK_IF_PREINSTALLED=false + +pre_build() { + command -v ocamlc.opt >/dev/null || export OCAML_NATIVE=false +}