FWIW, I just got ypbind running on a RHEL9 system, built from the current linux-nis.org sources, with --prefix=/usr/local.
We’re in the process of moving our HPC cluster name service from NIS to campus AD/LDAP. We haven’t been using NIS for password hashes, so haven’t been as concerned about security. It is fast…
But, we wanted to get an app-build/test environment up quickly for our user services folks to use, so ypbind to the existing service seemed the quick way to go.
The only thing that didn’t work with the generic “–prefix=/usr/local” was ypbind. It’s configure failed. I set PKG_CONFIG_LIBDIR to /usr/local, and NSL_CFLAGS to pick up rpc.h from /usr/include/tirpc.