Is NO_YP_LIBC working?

Alex Dupre ale at FreeBSD.org
Tue Jun 22 15:36:35 GMT 2004


Andrea Campi wrote:

> in the process of setting up a nanobsd-based system I've stumbled on so
> many issues during a make buildworld that I've started wondering whether
> NO_YP_LIBC is meant to work. Is anybody using it, and do you need local
> changes?

Currently it's broken. Try this patch: 
http://sources.zabbadoz.net/freebsd/patchset/10039-no-yp-libc.diff

> Another question is what should it actually do. Parts of librpcsvc and
> libwrap call yp_*, as do libexec/{mknetid,ypxfr); it doesn't make sense
> to not compile YP support in libc but try (and fail) to compile these.
> Maybe we should have a single variable (NOYP or NO_YP, I don't care)
> that turns off all YP-only code.

This is exactly what the patch does (or at least it should, I never 
tried it).

Ciao ;-)

-- 
Alex Dupre


More information about the freebsd-current mailing list