aboutsummaryrefslogtreecommitdiff
path: root/science/hdf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/hdf/Makefile')
-rw-r--r--science/hdf/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/science/hdf/Makefile b/science/hdf/Makefile
index 1a49229b9b91..26f00be60f64 100644
--- a/science/hdf/Makefile
+++ b/science/hdf/Makefile
@@ -51,6 +51,10 @@ USE_LDCONFIG= yes
BROKEN= Does not compile on !i386, !amd64 and !alpha
.endif
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \
${WRKSRC}/hdf/src/Makefile.in ${WRKSRC}/mfhdf/libsrc/Makefile.in