diff options
Diffstat (limited to 'lib/libmilter/Makefile')
-rw-r--r-- | lib/libmilter/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libmilter/Makefile b/lib/libmilter/Makefile index 41db418..9ce6bcf 100644 --- a/lib/libmilter/Makefile +++ b/lib/libmilter/Makefile @@ -1,5 +1,7 @@ # $FreeBSD$ +.include <bsd.own.mk> + SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail .PATH: ${SENDMAIL_DIR}/libmilter ${SENDMAIL_DIR}/libsm @@ -7,7 +9,7 @@ CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I. CFLAGS+=-DNOT_SENDMAIL -Dsm_snprintf=snprintf CFLAGS+=-D_THREAD_SAFE -.if !defined(NO_INET6) +.if ${MK_INET6_SUPPORT} != "no" CFLAGS+=-DNETINET6 .endif |