From 76a17fc31644dd8ea6914a3b0c7daba6b85fe159 Mon Sep 17 00:00:00 2001 From: gshapiro Date: Tue, 1 Jun 2004 01:29:42 +0000 Subject: Honor NOINET6 and disable IPv6 support in libmilter and sendmail if it is set. MFC after: 4 days --- usr.sbin/sendmail/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usr.sbin') diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile index 26b2082..c1c8381 100644 --- a/usr.sbin/sendmail/Makefile +++ b/usr.sbin/sendmail/Makefile @@ -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 -- cgit v1.1