git: c8ec14bae62f - main - devel/ocaml-camlp4: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:42:36 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c8ec14bae62fb55846c3921eb69079c8ed7aeaab
commit c8ec14bae62fb55846c3921eb69079c8ed7aeaab
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 14:16:32 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:35:54 +0000
devel/ocaml-camlp4: fix build on powerpc
---
devel/ocaml-camlp4/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-camlp4/Makefile b/devel/ocaml-camlp4/Makefile
index 5103db031b23..5dc4d5b4a8ea 100644
--- a/devel/ocaml-camlp4/Makefile
+++ b/devel/ocaml-camlp4/Makefile
@@ -22,6 +22,12 @@ MAKE_JOBS_UNSAFE=yes
ALL_TARGET= all camlp4/META
INSTALL_TARGET= install install-META
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
.for f in camlp4o camlp4of camlp4oof camlp4orf camlp4r camlp4rf
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}.opt