From 388e590f951441f619cd32710dc151e0ac810a10 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 17 Mar 2006 18:54:44 +0000 Subject: Reimplementation of world/kernel build options. For details, see: http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) --- usr.sbin/sendmail/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'usr.sbin/sendmail') diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile index b5874d3..458000b 100644 --- a/usr.sbin/sendmail/Makefile +++ b/usr.sbin/sendmail/Makefile @@ -1,6 +1,8 @@ # @(#)Makefile 8.8 (Berkeley) 3/28/97 # $FreeBSD$ +.include + SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail SMDIR= ${SENDMAIL_DIR}/src .PATH: ${SMDIR} @@ -28,7 +30,7 @@ BINMODE=2555 # Define the database format to use for aliases et al. DBMDEF= -DNEWDB # If you don't want NIS alias/map support, comment out this line -.if !defined(NO_NIS) +.if ${MK_NIS} != "no" NIS= -DNIS .endif # Map extensions @@ -38,7 +40,7 @@ CSTD?= c89 CFLAGS+= -I${SMDIR} -I${SENDMAIL_DIR}/include -I. CFLAGS+= ${DBMDEF} ${NIS} -DTCPWRAPPERS ${MAPS} -.if !defined(NO_INET6) +.if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DNETINET6 .endif @@ -57,7 +59,7 @@ LDADD+= ${LIBSMUTIL} ${LIBSM} SRCS+= sm_os.h CLEANFILES+=sm_os.h -.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH) +.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH) # STARTTLS support CFLAGS+= -DSTARTTLS -D_FFR_TLS_1 -D_FFR_DEAL_WITH_ERROR_SSL DPADD+= ${LIBSSL} ${LIBCRYPTO} -- cgit v1.1