diff options
Diffstat (limited to 'science/hdf5-18/Makefile')
-rw-r--r-- | science/hdf5-18/Makefile | 8 |
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> |