summaryrefslogtreecommitdiff
path: root/lib/libsm
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2004-06-01 01:29:42 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2004-06-01 01:29:42 +0000
commit0c56527f65620028a59792b2cbaa417cf9f32172 (patch)
treec05169b8bdcf1b9d61cd5583f11216147af44885 /lib/libsm
parent866046f5a6dadedc4686d667d14b21b0649c7961 (diff)
downloadsrc-test-0c56527f65620028a59792b2cbaa417cf9f32172.tar.gz
src-test-0c56527f65620028a59792b2cbaa417cf9f32172.zip
Honor NOINET6 and disable IPv6 support in libmilter and sendmail if it
is set. MFC after: 4 days
Notes
Notes: svn path=/head/; revision=129912
Diffstat (limited to 'lib/libsm')
-rw-r--r--lib/libsm/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
index c8ec07bd893f7..56e5ac3d482c8 100644
--- a/lib/libsm/Makefile
+++ b/lib/libsm/Makefile
@@ -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}