Until this is merged properly in the ports tree, you must build it
out-of-tree, from source. The port contains various security hardening
patches for OpenBSD, aligning with OpenBSD security policies. The code
and the build system have been patched, integrating with OpenBSD's
ports system.
Instructions are provided there for how to install it. At some point
in the future, when this is merged in OpenBSD proper, you will be able
to install it from binary packages via pkg_add.
This is only for OpenBSD -current, until OpenBSD will merge it in a
new stable release (from OpenBSD 8.0 onward). It was submitted to
OpenBSD just before the OpenBSD 7.9 release period, so it will not
be included in the OpenBSD 7.9 release.
Do not directly use the LibreWolf build system when compiling for
OpenBSD. You will compile it via OpenBSD's ports infrastructure, which
is configured to run LibreWolf's build system.