Add -DSTARTTLS CFLAG in order to enable DANE in sendmail builds
This commit is contained in:
parent
d89513ed20
commit
3413ee88c3
@ -15,6 +15,11 @@ CFLAGS+=-DSM_CONF_POLL
|
||||
CFLAGS+=-DNETINET6
|
||||
.endif
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
# STARTTLS support
|
||||
CFLAGS+=-DSTARTTLS
|
||||
.endif
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PACKAGE=lib${LIB}
|
||||
SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
|
||||
.PATH: ${SENDMAIL_DIR}/libsmutil
|
||||
@ -7,6 +9,11 @@ SENDMAIL_DIR=${SRCTOP}/contrib/sendmail
|
||||
CFLAGS+=-I${SENDMAIL_DIR}/src -I${SENDMAIL_DIR}/include -I.
|
||||
CFLAGS+=-DNEWDB -DNIS -DMAP_REGEX -DNOT_SENDMAIL
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
# STARTTLS support
|
||||
CFLAGS+=-DSTARTTLS
|
||||
.endif
|
||||
|
||||
# User customizations to the sendmail build environment
|
||||
CFLAGS+=${SENDMAIL_CFLAGS}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user