git: 0f826524b6a5 - main - devel/ocaml-ppx_deriving: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 11:27:29 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0f826524b6a5ee0ff8454f1134ea138123dd8e27
commit 0f826524b6a5ee0ff8454f1134ea138123dd8e27
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-19 11:05:21 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-22 11:24:57 +0000
devel/ocaml-ppx_deriving: fix build on powerpc
---
devel/ocaml-ppx_deriving/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-ppx_deriving/Makefile b/devel/ocaml-ppx_deriving/Makefile
index e7c29d7c1094..265612f679ea 100644
--- a/devel/ocaml-ppx_deriving/Makefile
+++ b/devel/ocaml-ppx_deriving/Makefile
@@ -31,6 +31,12 @@ OPTIONS_DEFINE= DOCS
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
@(cd ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}; \
${STRIP_CMD} \