I don't know how to handle the DB version issue, tbh... or even if it needs to be handled. But at least the steps necessary to make the thing build are now documented somewhere.
building on OpenBSD