aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail/Makefile
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-01-31 10:59:22 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-01-31 10:59:22 +0000
commitd9a77fcdcc273d0c42ce926a65350438df91e17d (patch)
treee6bace2a0a6024bb3437454ebb2d57f27416b269 /mail/qmail/Makefile
parentf96a8c57e6a6715bd3b179ae8fdf3a3897e59d51 (diff)
Notes
Diffstat (limited to 'mail/qmail/Makefile')
-rw-r--r--mail/qmail/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index aac9aeaf4f79..2ddf31d208f7 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -134,6 +134,8 @@ BARRIER_DNS_CNAME= yes
PATCH_DIST_STRIP+= -p1
+.include <bsd.port.options.mk>
+
.if !defined(BARRIER_DNS_PATCH)
# Patch necessary to cope with non-RFC >512 dns entries
# Since AOL has been using those, the problem has skyrocketed from minor to
@@ -168,6 +170,9 @@ PATCHFILES+= netqmail-mysql-${MYSQL_PATCH_VERSION}.patch:mysql
PATCH_SITES+= http://inoa.net/qmail-tls/:tls
TLS_PATCH_NAME= ${QMAIL_PORTNAME}-${QMAIL_VERSION}-tls-${TLS_PATCH_DATE}.patch
PATCHFILES+= ${TLS_PATCH_NAME}:tls
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200000
+EXTRA_PATCHES+= ${FILESDIR}/netqmail-1.06-tls-20160918-freebsd-12.patch
+.endif
.endif
PATCH_SITES+= LOCAL/bdrewery/qmail/:dns,sendmail_flagf,rfc2821,ldap,mysql,tls,quota,blockexec,doublebounce,spf,spf_tls,localtime,qmtpc_outgoingip
@@ -382,8 +387,6 @@ TLS_USES= ssl
NO_MTREE= yes
NO_PREFIX_RMDIR=yes
-.include <bsd.port.options.mk>
-
.if ${ARCH} == "amd64" && !defined(SLAVE_LDAP) \
&& !defined(SLAVE_SPAMCONTROL)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-amd64