From 2e5131f47a131f13c5dab176c7f6d2e005474aee Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 21 Dec 2022 23:03:11 +0100 Subject: [PATCH] unison: rebuild for ocaml-5.1.1. --- srcpkgs/unison/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/unison/template b/srcpkgs/unison/template index 8a5f06e0b6f..6f9daf259f2 100644 --- a/srcpkgs/unison/template +++ b/srcpkgs/unison/template @@ -1,7 +1,7 @@ # Template file for 'unison' pkgname=unison version=2.53.4 -revision=1 +revision=2 hostmakedepends="ocaml" short_desc="File-synchronization tool" maintainer="Andrew J. Hesford " @@ -12,7 +12,8 @@ checksum=d19e4293013581dbc4d149aef89b34c76221efcbd873c7aa5193de489addb85a nocross="OCaml does not cross compile" do_build() { - CFLAGS= make ${makejobs} DEBUGGING=false THREADS=true + command -v ocamlc.opt >/dev/null && NATIVE=true || NATIVE=false + CFLAGS= make ${makejobs} DEBUGGING=false THREADS=true NATIVE=$native CFLAGS= make ${makejobs} -C man }