aboutsummaryrefslogtreecommitdiff
path: root/www/mgstat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mgstat/Makefile')
-rw-r--r--www/mgstat/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/mgstat/Makefile b/www/mgstat/Makefile
index 77626937f546..6fea3efd7233 100644
--- a/www/mgstat/Makefile
+++ b/www/mgstat/Makefile
@@ -20,6 +20,12 @@ GNU_CONFIGURE= yes
MGDOCDIR= ${PREFIX}/share/doc/mgstat
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile with gcc 3.4.2"
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@if ! [ -d ${MGDOCDIR} ]; then ${MKDIR} ${MGDOCDIR}; fi
@@ -28,4 +34,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/USAGE ${MGDOCDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>