aboutsummaryrefslogtreecommitdiff
path: root/mail/ftrack
diff options
context:
space:
mode:
Diffstat (limited to 'mail/ftrack')
-rw-r--r--mail/ftrack/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/ftrack/Makefile b/mail/ftrack/Makefile
index a859b24a9ada..89c76a07b8b3 100644
--- a/mail/ftrack/Makefile
+++ b/mail/ftrack/Makefile
@@ -25,6 +25,12 @@ ALL_TARGET= ftrack
MAKEFILE= ${WRKSRC}/MakeFiles/FreeBSD/Makefile
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
pre-patch:
${REINPLACE_CMD} -e "s@-I../../hpp -I../../.. -O3@-Ihpp -I${LOCALBASE}/include ${CFLAGS}@g; \
s@../../src/@src/@g; s@g\+\+@${CC}@g; \
@@ -50,4 +56,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/samples/${FILE} ${PREFIX}/etc/ftrack
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>