aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
Diffstat (limited to 'science')
-rw-r--r--science/hdf5-18/Makefile4
-rw-r--r--science/hdf5/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/science/hdf5-18/Makefile b/science/hdf5-18/Makefile
index 104fec75ff0..dd0ad06129b 100644
--- a/science/hdf5-18/Makefile
+++ b/science/hdf5-18/Makefile
@@ -26,6 +26,10 @@ ALL_TARGET= lib progs
.include <bsd.port.pre.mk>
+.if ${ARCH} == "sparc64"
+BROKEN= Does not compile on ${ARCH}
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
diff --git a/science/hdf5/Makefile b/science/hdf5/Makefile
index 104fec75ff0..dd0ad06129b 100644
--- a/science/hdf5/Makefile
+++ b/science/hdf5/Makefile
@@ -26,6 +26,10 @@ ALL_TARGET= lib progs
.include <bsd.port.pre.mk>
+.if ${ARCH} == "sparc64"
+BROKEN= Does not compile on ${ARCH}
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \