unison: rebuild for ocaml-5.1.1.

This commit is contained in:
Leah Neukirchen 2022-12-21 23:03:11 +01:00
parent 78cdb144c0
commit 2e5131f47a
1 changed files with 3 additions and 2 deletions

View File

@ -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 <ajh@sideband.org>"
@ -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
}