summaryrefslogtreecommitdiff
path: root/science/hdf5-18/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/hdf5-18/Makefile')
-rw-r--r--science/hdf5-18/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/science/hdf5-18/Makefile b/science/hdf5-18/Makefile
index 8522d22cd6d7..86a7fb1f095d 100644
--- a/science/hdf5-18/Makefile
+++ b/science/hdf5-18/Makefile
@@ -30,7 +30,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|[\$$]CFLAGS -pthread|\$$CFLAGS|g ; \
s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
- s|[\$$]LDFLAGS -pthread|\$$LDFLAGS ${PTHREAD_LIBS}|g' \
+ s|[\$$]LDFLAGS -pthread|\$$LDFLAGS ${PTHREAD_LIBS}|g ; \
+ s|-lcipher||g' \
${WRKSRC}/config/freebsd
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/config/gnu-flags