aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-08-01 15:57:45 +0800
committerlinimon <linimon@FreeBSD.org>2007-08-01 15:57:45 +0800
commit181fb04a06317364b959f432587d4123eb890499 (patch)
tree730ae8dd5b6d77903246371db9f8ed368222fd49 /science
parent59fa9c06453d0303ce37835b530a233a943f24bc (diff)
downloadfreebsd-ports-graphics-181fb04a06317364b959f432587d4123eb890499.tar.gz
freebsd-ports-graphics-181fb04a06317364b959f432587d4123eb890499.tar.zst
freebsd-ports-graphics-181fb04a06317364b959f432587d4123eb890499.zip
Mark as BROKEN on sparc64: gets unaligned memory address on compile.
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 ; \