Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2021 22:33:38 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 499a93b228a8 - main - science/hdf: add back the previously removed powerpc workaround
Message-ID:  <202106162233.15GMXcVG003436@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=499a93b228a8f8ac7f0a056bc0c49b758bc2a574

commit 499a93b228a8f8ac7f0a056bc0c49b758bc2a574
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-06-16 22:33:27 +0000
Commit:     Piotr Kubaj <pkubaj@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106162233.15GMXcVG003436>