OpenBSD doesn't have utmpx.h or clearenv. Also, the dependency "$(BIN): util.a" seems to shadow the implicit build rule in BSD make, resulting in nothing past util.a getting built. The patch includes a rather stupid workaround for this. (Less stupid solutions welcome --- it'd be simple to specify with a ".for", but then it'd be BSD-make--specific, and I don't feel like figuring out cross-platform makefiles.)
sbase-openbsd.diff
Description: Binary data