Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:37 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: ee37bf5e8cbf - main - devel/ocaml-octavius: fix build on powerpc
Message-ID:  <202501122142.50CLgbxI095578@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=ee37bf5e8cbf6be031f37d32e8d63e0ee1200ddf

commit ee37bf5e8cbf6be031f37d32e8d63e0ee1200ddf
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 14:20:08 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:35:55 +0000

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

diff --git a/devel/ocaml-octavius/Makefile b/devel/ocaml-octavius/Makefile
index 084ffcaf5a3e..d4d94e2c30e6 100644
--- a/devel/ocaml-octavius/Makefile
+++ b/devel/ocaml-octavius/Makefile
@@ -22,6 +22,12 @@ OPTIONS_DEFINE=	DOCS
 
 SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e "s/(lang dune 1.11)/(lang dune 2.5)/" \



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