Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/ibm-public/postfix/libexec/smtpd Fix MKCRYPTO=no



details:   https://anonhg.NetBSD.org/src/rev/e1bc5a4cc0b7
branches:  trunk
changeset: 816303:e1bc5a4cc0b7
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jun 29 20:07:52 2016 +0000

description:
Fix MKCRYPTO=no

diffstat:

 external/ibm-public/postfix/libexec/smtpd/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r d210c949ebf1 -r e1bc5a4cc0b7 external/ibm-public/postfix/libexec/smtpd/Makefile
--- a/external/ibm-public/postfix/libexec/smtpd/Makefile        Wed Jun 29 19:45:14 2016 +0000
+++ b/external/ibm-public/postfix/libexec/smtpd/Makefile        Wed Jun 29 20:07:52 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2013/09/25 19:25:08 tron Exp $
+#      $NetBSD: Makefile,v 1.4 2016/06/29 20:07:52 christos Exp $
 
 NOMAN= # defined
 
@@ -6,8 +6,8 @@
 
 PROG=  smtpd
 
-DIST=  ${NETBSDSRCDIR}/external/ibm-public/postfix/dist/src/${PROG}
-.PATH: ${DIST}
+DIST=  ${NETBSDSRCDIR}/external/ibm-public/postfix/dist
+.PATH: ${DIST}/src/${PROG}
 
 SRCS=  smtpd.c smtpd_token.c smtpd_check.c smtpd_chat.c smtpd_state.c \
        smtpd_peer.c smtpd_sasl_proto.c smtpd_sasl_glue.c smtpd_proxy.c \
@@ -20,6 +20,9 @@
 .if ${MKCRYPTO} != "no"
 DPADD+=        ${LIBPTLS} ${LIBSSL} ${LIBCRYPTO}
 LDADD+=        ${LIBPTLS} -lssl -lcrypto
+.else
+.PATH: ${DIST}/src/tls
+SRCS+= tls_level.c
 .endif
 
 DPADD+=        ${LIBPUTIL}



Home | Main Index | Thread Index | Old Index