Switch libmilter from select(2) to poll(2) so milters are not limited

by the size of FD_SETSIZE.

PR:		118824
Submitted by:	vsevolod
MFC after:	3 weeks
This commit is contained in:
Gregory Neil Shapiro 2008-02-17 05:14:47 +00:00
parent 6b4d690c62
commit b3a502610b

View File

@ -8,6 +8,7 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
CFLAGS+=-DNOT_SENDMAIL -Dsm_snprintf=snprintf
CFLAGS+=-D_THREAD_SAFE
CFLAGS+=-DSM_CONF_POLL
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DNETINET6