Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:46:57 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: aac7ecb0f66f - main - math/ocaml-zarith: fix build on powerpc
Message-ID:  <202501172146.50HLkvjF062512@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aac7ecb0f66f8625ef9e4d2b0b802676b384ca2c

commit aac7ecb0f66f8625ef9e4d2b0b802676b384ca2c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 10:47:36 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:14 +0000

    math/ocaml-zarith: fix build on powerpc
---
 math/ocaml-zarith/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/math/ocaml-zarith/Makefile b/math/ocaml-zarith/Makefile
index 4e3f49ad32ee..c59054723086 100644
--- a/math/ocaml-zarith/Makefile
+++ b/math/ocaml-zarith/Makefile
@@ -32,6 +32,12 @@ OPTIONS_DEFINE=	DOCS
 
 DOCS_ALL_TARGET=doc
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-install:
 	@${STRIP_CMD} \
 		${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/dllzarith.so \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501172146.50HLkvjF062512>