openbsd-ports/net/unison/2.5x/pkg
..
DESCR
PLIST
README

$OpenBSD: README,v 1.4 2019/09/22 18:29:54 chrisz Exp $

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Unison uses native OCaml marshalling in its prococol. This
means that unison might not work when the OCaml versions of
two instances are out of sync.
One way to work around this limitation of unison is to use
the OPAM OCaml package manager to build unison with the same
version of the OCaml compiler on all machines:

doas pkg_add opam
OPAMROOT=~/opam_unison
opam init --no-setup --compiler ocaml-base-compiler.4.09.0
opam install unison lablgtk  # To build without the gui, remove lablgtk
$(opam var bin)/unison