aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-16 13:43:44 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-17 21:45:37 +0000
commit1c43afd06401b623e582591b31c56214a364ccb4 (patch)
treea7bcd605d88a791d2c3367da0213b77d9328a9a2
parent01bf6aac6fe2e003c58c58a811718d90aea06c38 (diff)
devel/ocaml-type_conv: fix build on powerpc
-rw-r--r--devel/ocaml-type_conv/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/ocaml-type_conv/Makefile b/devel/ocaml-type_conv/Makefile
index 87ca942d42cb..858cd30ea401 100644
--- a/devel/ocaml-type_conv/Makefile
+++ b/devel/ocaml-type_conv/Makefile
@@ -25,6 +25,12 @@ MAKE_JOBS_UNSAFE= yes
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= *
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/type_conv/pa_type_conv.cmxs