summaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-06 23:26:19 +0000
committerkris <kris@FreeBSD.org>2004-03-06 23:26:19 +0000
commitc65db7e9bc7285376ce6236a1b2e5f9b6d7096e6 (patch)
treeaf62f6d80ae687b3029c471ef9eea8b09334a261 /science
parent62a559bce667331bed7fdf3ad05d480323c6eac8 (diff)
downloadFreeBSD-ports-c65db7e9bc7285376ce6236a1b2e5f9b6d7096e6.zip
FreeBSD-ports-c65db7e9bc7285376ce6236a1b2e5f9b6d7096e6.tar.gz
BROKEN on sparc64: Configure fails.
Diffstat (limited to 'science')
-rw-r--r--science/hdf5-18/Makefile8
-rw-r--r--science/hdf5/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/science/hdf5-18/Makefile b/science/hdf5-18/Makefile
index 4d23e7f..0facac7 100644
--- a/science/hdf5-18/Makefile
+++ b/science/hdf5-18/Makefile
@@ -26,6 +26,12 @@ CONFIGURE_ARGS= --enable-cxx --enable-production \
ALL_TARGET= lib progs
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= "Configure fails on sparc64"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
@@ -41,4 +47,4 @@ post-install:
@${STRIP_CMD} ${PREFIX}/bin/${i}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/science/hdf5/Makefile b/science/hdf5/Makefile
index 4d23e7f..0facac7 100644
--- a/science/hdf5/Makefile
+++ b/science/hdf5/Makefile
@@ -26,6 +26,12 @@ CONFIGURE_ARGS= --enable-cxx --enable-production \
ALL_TARGET= lib progs
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= "Configure fails on sparc64"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
@@ -41,4 +47,4 @@ post-install:
@${STRIP_CMD} ${PREFIX}/bin/${i}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud