unison: rebuild for ocaml-5.1.1.
This commit is contained in:
parent
78cdb144c0
commit
2e5131f47a
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'unison'
|
# Template file for 'unison'
|
||||||
pkgname=unison
|
pkgname=unison
|
||||||
version=2.53.4
|
version=2.53.4
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="ocaml"
|
hostmakedepends="ocaml"
|
||||||
short_desc="File-synchronization tool"
|
short_desc="File-synchronization tool"
|
||||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
|
@ -12,7 +12,8 @@ checksum=d19e4293013581dbc4d149aef89b34c76221efcbd873c7aa5193de489addb85a
|
||||||
nocross="OCaml does not cross compile"
|
nocross="OCaml does not cross compile"
|
||||||
|
|
||||||
do_build() {
|
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
|
CFLAGS= make ${makejobs} -C man
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue