Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:43 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: 68fe66b024fc - main - textproc/ocaml-spelll: fix build on powerpc
Message-ID:  <202501122142.50CLghJa095805@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=68fe66b024fc5a08135f21c50909b348fa27eac5

commit 68fe66b024fc5a08135f21c50909b348fa27eac5
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 15:04:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:04 +0000

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

diff --git a/textproc/ocaml-spelll/Makefile b/textproc/ocaml-spelll/Makefile
index af038ac3aac7..d9efb258dafd 100644
--- a/textproc/ocaml-spelll/Makefile
+++ b/textproc/ocaml-spelll/Makefile
@@ -20,6 +20,12 @@ PORTDOCS=	LICENSE README.md
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e "s/(lang dune.*/&\n(version ${DISTVERSION})/" \



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