git: 402e9079832d - main - devel/ocaml-res: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:42:58 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=402e9079832d4d7d54568d5cea00d0f953203b1d
commit 402e9079832d4d7d54568d5cea00d0f953203b1d
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-06 20:25:41 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:26 +0000
devel/ocaml-res: fix build on powerpc
---
devel/ocaml-res/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
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}