From 499a93b228a8f8ac7f0a056bc0c49b758bc2a574 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 16 Jun 2021 22:33:27 +0000 Subject: [PATCH] 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 bc9528d31ca9f..a565101a1f89a 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