summaryrefslogtreecommitdiffstats
path: root/lib/libsm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libsm')
-rw-r--r--lib/libsm/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libsm/Makefile b/lib/libsm/Makefile
index 12a73d7..4439b4a 100644
--- a/lib/libsm/Makefile
+++ b/lib/libsm/Makefile
@@ -1,12 +1,14 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/libsm
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
-.if !defined(NO_INET6)
+.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+=-DNETINET6
.endif
OpenPOWER on IntegriCloud