aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-02 14:16:32 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-12 21:35:54 +0000
commitc8ec14bae62fb55846c3921eb69079c8ed7aeaab (patch)
treee487d6431ea0e7f23ebcd4e4d1363972a1e4a74a
parent9685f405b992a2e8f195b7d7cc29fc36293d91e4 (diff)
devel/ocaml-camlp4: fix build on powerpc
-rw-r--r--devel/ocaml-camlp4/Makefile6
1 files changed, 6 insertions, 0 deletions
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