Honor NOINET6 and disable IPv6 support in libmilter and sendmail if it

is set.

MFC after:	4 days
This commit is contained in:
Gregory Neil Shapiro 2004-06-01 01:29:42 +00:00
parent 866046f5a6
commit 0c56527f65
3 changed files with 15 additions and 3 deletions

View File

@ -4,9 +4,13 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
CFLAGS+=-DNETINET6 -DNOT_SENDMAIL -Dsm_snprintf=snprintf
CFLAGS+=-DNOT_SENDMAIL -Dsm_snprintf=snprintf
CFLAGS+=-D_THREAD_SAFE
.if !defined(NOINET6)
CFLAGS+=-DNETINET6
.endif
# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}

View File

@ -4,7 +4,11 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsm
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
CFLAGS+=-DNETINET6 -DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
.if !defined(NOINET6)
CFLAGS+=-DNETINET6
.endif
# User customizations to the sendmail build environment
CFLAGS+=${SENDMAIL_CFLAGS}

View File

@ -32,7 +32,11 @@ MAPS= -DMAP_REGEX -DDNSMAP
CSTD?= c89
CFLAGS+= -I${SMDIR} -I${SENDMAIL_DIR}/include -I.
CFLAGS+= ${DBMDEF} ${NIS} -DMILTER -DNETINET6 -DTCPWRAPPERS ${MAPS}
CFLAGS+= ${DBMDEF} ${NIS} -DMILTER -DTCPWRAPPERS ${MAPS}
.if !defined(NOINET6)
CFLAGS+= -DNETINET6
.endif
DPADD= ${LIBUTIL} ${LIBWRAP}
LDADD= -lutil -lwrap