Base system can now be built without NIS (NO_NIS in make.conf) but mail/sendmail assumes NIS always present. When base system has no NIS sendmail fails to build. Fix: Here is a simple patch, which adds SENDMAIL_WITHOUT_NIS knob. It lacks auto-detection of NIS absence - I don't know how to implement it. But this patch should be sufficient to fix sendmail build when base system has no NIS. The proposed patch replaces `-DNEWDB -DNIS -DMAP_REGEX' with `-DNEWDB -DMAP_REGEX'. Maybe it should be broader like s/-DNIS// but I prefer more conservative approach as there are less chances it will break anything. On the other hand there are chances that broader patch will work even when options are changed. How-To-Repeat: Compile base system with NO_NIS Try to build mail/sendmail
Responsible Changed From-To: freebsd-ports-bugs->dinoex Over to maintainer
State Changed From-To: open->analyzed Thanks, I make a few cosmetic changes preview: http://people.freebsd.org/~dinoex/ports/sendmail/ I will commit this after the port freeze is lifted
State Changed From-To: analyzed->closed committed, thanks.