aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/libdkim/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/libdkim/Makefile b/mail/libdkim/Makefile
index f4743928bb0d..6000ba3812ef 100644
--- a/mail/libdkim/Makefile
+++ b/mail/libdkim/Makefile
@@ -22,9 +22,15 @@ USE_OPENSSL= YES
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN= does not compile on FreeBSD 6.x
+.endif
+
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
${FILESDIR}/Makefile > ${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>