aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-12 16:42:14 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-12 21:42:00 +0000
commit6dbe154311d8f611c3f2b422cc0d942513d6baef (patch)
treeff29b33ba679e93ebb48bb9326960e52d792a7ba
parent4a776b41193b7dd8f0739b31e19e003ab8bb0594 (diff)
devel/ocaml-csexp: fix build on powerpc
-rw-r--r--devel/ocaml-csexp/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/ocaml-csexp/Makefile b/devel/ocaml-csexp/Makefile
index 63e94149eaa6..9076698d48dd 100644
--- a/devel/ocaml-csexp/Makefile
+++ b/devel/ocaml-csexp/Makefile
@@ -20,6 +20,12 @@ PORTDOCS= CHANGES.md LICENSE.md README.md
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-patch:
${REINPLACE_CMD} \
-e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \