aboutsummaryrefslogtreecommitdiffstats
path: root/science/hdf5-18/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-07 07:26:19 +0800
committerkris <kris@FreeBSD.org>2004-03-07 07:26:19 +0800
commitc65db7e9bc7285376ce6236a1b2e5f9b6d7096e6 (patch)
treeaf62f6d80ae687b3029c471ef9eea8b09334a261 /science/hdf5-18/Makefile
parent62a559bce667331bed7fdf3ad05d480323c6eac8 (diff)
downloadfreebsd-ports-gnome-c65db7e9bc7285376ce6236a1b2e5f9b6d7096e6.tar.gz
freebsd-ports-gnome-c65db7e9bc7285376ce6236a1b2e5f9b6d7096e6.tar.zst
freebsd-ports-gnome-c65db7e9bc7285376ce6236a1b2e5f9b6d7096e6.zip
BROKEN on sparc64: Configure fails.
Diffstat (limited to 'science/hdf5-18/Makefile')
-rw-r--r--science/hdf5-18/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/science/hdf5-18/Makefile b/science/hdf5-18/Makefile
index 4d23e7fdc9c0..0facac7ed391 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>