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

by the size of FD_SETSIZE.

     PR:             118824
     Submitted by:   vsevolod
This commit is contained in:
Gregory Neil Shapiro 2008-03-15 20:55:37 +00:00
parent 1fba07efb3
commit 4ec40f3079
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/7/; revision=177229

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