summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/dma/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/dma/Makefile b/mail/dma/Makefile
index fa42124eea66..2561f153ab6d 100644
--- a/mail/dma/Makefile
+++ b/mail/dma/Makefile
@@ -24,6 +24,12 @@ LDFLAGS+= -L${OPENSSLLIB}
SUB_FILES= pkg-message
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} <= 700000
+BROKEN= Does not build on 6.X
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,/etc/dma,${PREFIX}/etc/dma,g' \
${WRKSRC}/dma.8 \
@@ -51,4 +57,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>