What I tried to do was the following:
cd /usr/src/gnu/usr.sbin/sendmail
make clean all
I thought this would pick up the mk.conf directives for WANT_SMTPAUTH
and WANT_LDAP. But when I rebooted the build machine it did not allow
me to access the OpenLDAP server for aliases. So I built the whole
userland (and xenocara) using the process described in the FAQ and
that did solve the problem. So I probably am missing something here.
Try this.
# cd /usr/src/gnu/usr.sbin/sendmail
# make clean && make obj && make depend && make && make install