aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-16 13:42:14 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-17 21:45:35 +0000
commit01bf6aac6fe2e003c58c58a811718d90aea06c38 (patch)
treec40b65095ea6d5e4d16370019f07fe7f00712550
parent1ae4f689685c8fdd3abc425af7b8e618e253d358 (diff)
devel/ocaml-sem: fix build on powerpc
-rw-r--r--devel/ocaml-sem/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/ocaml-sem/Makefile b/devel/ocaml-sem/Makefile
index 14e45a186e20..1548a465f4c5 100644
--- a/devel/ocaml-sem/Makefile
+++ b/devel/ocaml-sem/Makefile
@@ -27,6 +27,12 @@ MAKE_ENV+= NO_CUSTOM=y
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}