aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/upsdaemon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/upsdaemon/Makefile')
-rw-r--r--sysutils/upsdaemon/Makefile8
1 files changed, 7 insertions, 1 deletions
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>