git: d23577cf74bf - main - devel/ocaml-ppxlib: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:46:46 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d23577cf74bf5fabe03dcb5d0bcbb83c63ca66e1
commit d23577cf74bf5fabe03dcb5d0bcbb83c63ca66e1
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-14 01:38:45 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:44:58 +0000
devel/ocaml-ppxlib: fix build on powerpc
---
devel/ocaml-ppxlib/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-ppxlib/Makefile b/devel/ocaml-ppxlib/Makefile
index 30ec8afd2a63..0421ffd50e4c 100644
--- a/devel/ocaml-ppxlib/Makefile
+++ b/devel/ocaml-ppxlib/Makefile
@@ -30,6 +30,12 @@ OPTIONS_DEFINE= DOCS
DUNE_INSTALL_TARGETS= ${PORTNAME}
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-patch:
@(cd ${WRKSRC}; \
${REINPLACE_CMD} -e s/stdlib-shims//g \