summaryrefslogtreecommitdiffstats
path: root/lib/libsm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libsm/Makefile')
-rw-r--r--lib/libsm/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
index c8ec07b..56e5ac3 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}
OpenPOWER on IntegriCloud