git: 499a93b228a8 - main - science/hdf: add back the previously removed powerpc workaround
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jun 16 22:33:38 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=499a93b228a8f8ac7f0a056bc0c49b758bc2a574
commit 499a93b228a8f8ac7f0a056bc0c49b758bc2a574
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-16 22:33:27 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-16 22:33:27 +0000
science/hdf: add back the previously removed powerpc workaround
---
science/hdf/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/science/hdf/Makefile b/science/hdf/Makefile
index bc9528d31ca9..a565101a1f89 100644
--- a/science/hdf/Makefile
+++ b/science/hdf/Makefile
@@ -46,6 +46,9 @@ post-patch:
post-install:
${INSTALL_MAN} ${WRKSRC}/man/hdfunpac.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1
+ # Allow to build on PowerPC
+ @${REINPLACE_CMD} -e '/if defined (__APPLE__)/ \
+ s,),) || defined(__powerpc__),' ${WRKSRC}/hdf/src/hdfi.h
${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 \
${STAGEDIR}${MAN3PREFIX}/man/man3
More information about the dev-commits-ports-main
mailing list