From a8f95eb1e97ade0c01d872753cd7d96541c6bc7c Mon Sep 17 00:00:00 2001 From: gshapiro Date: Tue, 10 Oct 2000 18:15:41 +0000 Subject: Build sendmail with STARTTLS support unless NO_OPENSSL is set. --- usr.sbin/sendmail/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'usr.sbin/sendmail/Makefile') diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile index d6fa2924..539e512 100644 --- a/usr.sbin/sendmail/Makefile +++ b/usr.sbin/sendmail/Makefile @@ -44,6 +44,13 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a DPADD+= ${LIBSMUTIL} LDADD+= ${LIBSMUTIL} +.if !defined(NO_OPENSSL) +# STARTTLS support +CFLAGS+=-DSTARTTLS -D_FFR_TLS_O_T -D_FFR_TLS_1 -D_FFR_TLS_TOREK +LDADD+= -lssl -lcrypto +DPADD+= ${LIBSSL} ${LIBCRYPTO} +.endif + # User customizations to the sendmail build environment CFLAGS+=${SENDMAIL_CFLAGS} LDFLAGS+=${SENDMAIL_LDFLAGS} -- cgit v1.1