aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-06 23:26:19 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-06 23:26:19 +0000
commit8b1e74ee98915acecb2699e084a3ddf212a59adb (patch)
tree83aae7b3a66a3c668f14286ae002d6caa51d7ac8 /science
parent8bc6631b6aaa67a6170332d189a29fdb1272757c (diff)
downloadports-8b1e74ee98915acecb2699e084a3ddf212a59adb.tar.gz
ports-8b1e74ee98915acecb2699e084a3ddf212a59adb.zip
Notes
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 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>
diff --git a/science/hdf5/Makefile b/science/hdf5/Makefile
index 4d23e7fdc9c0..0facac7ed391 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>