summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-06 21:25:41 +0100
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-12 22:36:26 +0100
commit402e9079832d4d7d54568d5cea00d0f953203b1d (patch)
tree3e4ae10a83d0170ad5f21b31f04e7b4232a3fc8b
parentmath/facile: fix build on powerpc (diff)
devel/ocaml-res: fix build on powerpc
-rw-r--r--devel/ocaml-res/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/ocaml-res/Makefile b/devel/ocaml-res/Makefile
index c17c633d1d01..8c16c5dfe079 100644
--- a/devel/ocaml-res/Makefile
+++ b/devel/ocaml-res/Makefile
@@ -22,6 +22,12 @@ EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
do-build:
cd ${BUILD_WRKSRC} && dune build -p ${PORTNAME} -j ${MAKE_JOBS_NUMBER}