aboutsummaryrefslogtreecommitdiffstats
path: root/devel/xlslib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/xlslib/Makefile')
-rw-r--r--devel/xlslib/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/xlslib/Makefile b/devel/xlslib/Makefile
index 7801d6ef9e97..dc3690c3afe3 100644
--- a/devel/xlslib/Makefile
+++ b/devel/xlslib/Makefile
@@ -23,4 +23,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|^\(SUBDIRS.*src\).*|\1|' \
${WRKSRC}/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
+BROKEN= Does not compile with GCC 4.2
+.endif
+.endif
+
+.include <bsd.port.post.mk>