summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/eventwatcher/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/eventwatcher/Makefile b/sysutils/eventwatcher/Makefile
index cc88d7a7ad89..ca61b88b8b9b 100644
--- a/sysutils/eventwatcher/Makefile
+++ b/sysutils/eventwatcher/Makefile
@@ -23,7 +23,13 @@ USE_KDELIBS_VER=3
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O2 ||g' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>