With this, ocaml builds, and unison builds and works.
I do not understand the issue -- just following directions :-)
I'll commit in about 18h if no objections.
Index: Makefile
RCS file: /cvsroot/pkgsrc/lang/ocaml/Makefile,v
retrieving revision 1.144
diff -u -p -r1.144 Makefile
--- Makefile 24 May 2022 18:25:38 -0000 1.144
+++ Makefile 23 Jun 2022 17:12:33 -0000
@@ -26,6 +26,11 @@ CONFIGURE_ARGS+= --disable-native-compil
BUILD_TARGET= world
.endif
+# configure: error: fma does not work, enable emulation with --enable-imprecise-c99-float-ops
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386"
+CONFIGURE_ARGS+= --enable-imprecise-c99-float-ops
+.endif
+
# This is needed because ${WRKSRC}/build/partial-install.sh uses
# $PWD as part of its script. However, with /bin/sh on SunOS
# (cd work/foo-1.0 && echo $PWD) will show that the value of PWD is