git: 501fd6d1100f - main - devel/ocaml-ppx_js_style: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 11:27:28 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=501fd6d1100fc01016e568db0785662a6cbc4015
commit 501fd6d1100fc01016e568db0785662a6cbc4015
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-19 00:28:01 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-22 11:24:55 +0000
devel/ocaml-ppx_js_style: fix build on powerpc
---
devel/ocaml-ppx_js_style/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-ppx_js_style/Makefile b/devel/ocaml-ppx_js_style/Makefile
index 710ad2fe6ecd..eb4e38c24066 100644
--- a/devel/ocaml-ppx_js_style/Makefile
+++ b/devel/ocaml-ppx_js_style/Makefile
@@ -30,6 +30,12 @@ OPTIONS_DEFINE= DOCS
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
@${STRIP_CMD} \
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs \