aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/perf/Makefile8
-rw-r--r--sysutils/upsdaemon/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/sysutils/perf/Makefile b/sysutils/perf/Makefile
index f95a9565e14..a6376b3a844 100644
--- a/sysutils/perf/Makefile
+++ b/sysutils/perf/Makefile
@@ -26,4 +26,10 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/perf.1 ${PREFIX}/man/man1
${GZIP_CMD} ${PREFIX}/man/man1/perf.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/upsdaemon/Makefile b/sysutils/upsdaemon/Makefile
index 010069b68d6..3e003a7c983 100644
--- a/sysutils/upsdaemon/Makefile
+++ b/sysutils/upsdaemon/Makefile
@@ -22,4 +22,10 @@ USE_RC_SUBR= upsdaemon
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
+.include <bsd.port.post.mk>