summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-07 10:18:13 +0100
committerPiotr Kubaj <pkubaj@FreeBSD.org>2025-01-12 22:36:36 +0100
commit68ba965474419d264759a9121996f4f5ed5ef7b9 (patch)
tree46165c6740029e93757204b54059698ab51a973c
parentsecurity/ocaml-ssl: fix build on powerpc (diff)
devel/ocaml-cfg: fix build on powerpc
-rw-r--r--devel/ocaml-cfg/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/ocaml-cfg/Makefile b/devel/ocaml-cfg/Makefile
index 7d683d99f83c..804df9908700 100644
--- a/devel/ocaml-cfg/Makefile
+++ b/devel/ocaml-cfg/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 --verbose