diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-01-25 14:34:48 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-01-25 14:34:48 +0000 |
commit | 46b11d69a2101794dfb8e51a0bb9818f79cc89db (patch) | |
tree | a7e7b148aa3311e8a533cea76180aaa2466afba9 /mail/sendmail-old | |
parent | c6b3718d996ad4d99dd62b760397c07b6481ff8c (diff) | |
download | FreeBSD-ports-46b11d69a2101794dfb8e51a0bb9818f79cc89db.zip FreeBSD-ports-46b11d69a2101794dfb8e51a0bb9818f79cc89db.tar.gz |
New Build-Option: SENDMAIL_WITH_SASL
PR: 24625
Submitted by: MAINTAINER
Diffstat (limited to 'mail/sendmail-old')
-rw-r--r-- | mail/sendmail-old/Makefile | 7 | ||||
-rw-r--r-- | mail/sendmail-old/files/site.config.m4.sasl | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile index 3770d87..4596b66 100644 --- a/mail/sendmail-old/Makefile +++ b/mail/sendmail-old/Makefile @@ -22,6 +22,9 @@ PLIST= ${WRKDIR}/.PLIST.more .if defined(SENDMAIL_WITH_TSL) USE_OPENSSL= yes .endif +.if defined(SENDMAIL_WITH_SASL) +BUILD_DEPENDS= ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl +.endif .if exists(${DESTDIR}/etc/mail/mailer.conf) pre-configure: @@ -30,6 +33,10 @@ pre-configure: .if defined(SENDMAIL_WITH_TSL) ${CAT} ${FILESDIR}/site.config.m4.tls >> ${WCONF}/site.config.m4 .endif +.if defined(SENDMAIL_WITH_SASL) + ${SED} -e "s=%%LOCALBASE%%=${LOCALBASE}=" \ + ${FILESDIR}/site.config.m4.sasl >>${WCONF}/site.config.m4 +.endif .else pre-configure: ${SED} -e "s=%%PREFIX%%=${PREFIX}=" \ diff --git a/mail/sendmail-old/files/site.config.m4.sasl b/mail/sendmail-old/files/site.config.m4.sasl new file mode 100644 index 0000000..7b8813c --- /dev/null +++ b/mail/sendmail-old/files/site.config.m4.sasl @@ -0,0 +1,5 @@ +APPENDDEF(`conf_sendmail_ENVDEF', `-I%%LOCALBASE%%/include/sasl') +APPENDDEF(`conf_sendmail_ENVDEF', `-DDSASL') +APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_UNSAFE_SASL') +APPENDDEF(`confLIBDIRS', `-L%%LOCALBASE%%/lib') +APPENDDEF(`conf_sendmail_LIBS', `-lsasl') |