Please post the output of configure (or configure.log) It's likely there's a way to work around this cleanly. It's clearly supposed to fall back to embedded copies of strlcpy et al if it detects them missing. It shouldn't be relying on libbsd given that it isn't part of pkgsrc.