mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Add -DSTARTTLS CFLAG in order to enable DANE in sendmail builds
This commit is contained in:
parent
d89513ed20
commit
3413ee88c3
2 changed files with 12 additions and 0 deletions
|
|
@ -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…
Reference in a new issue