aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sendmail/Makefile
diff options
context:
space:
mode:
authorGregory Neil Shapiro <gshapiro@FreeBSD.org>2000-10-24 16:04:56 +0000
committerGregory Neil Shapiro <gshapiro@FreeBSD.org>2000-10-24 16:04:56 +0000
commit85e427cc94bd97602d756d6da4f00f3bf1449ca0 (patch)
tree5d709c1df3031f5598741988e12c9b9c64e478fb /usr.sbin/sendmail/Makefile
parent31873471da2823f89aa269e35b50004e9778d7b1 (diff)
downloadsrc-85e427cc94bd97602d756d6da4f00f3bf1449ca0.tar.gz
src-85e427cc94bd97602d756d6da4f00f3bf1449ca0.zip
Notes
Diffstat (limited to 'usr.sbin/sendmail/Makefile')
-rw-r--r--usr.sbin/sendmail/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile
index 6e16f71b4962..0f9d5aeb351c 100644
--- a/usr.sbin/sendmail/Makefile
+++ b/usr.sbin/sendmail/Makefile
@@ -44,6 +44,15 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
DPADD+= ${LIBSMUTIL}
LDADD+= ${LIBSMUTIL}
+.if exists(../../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && \
+ !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
+# STARTTLS support
+DISTRIBUTION= crypto
+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}
DPADD+=${SENDMAIL_DPADD}