Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:47:35 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: c25d18bb3d01 - main - devel/ocaml-camljava: fix build on powerpc
Message-ID:  <202501172147.50HLlZ8P064009@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=c25d18bb3d01ccb3d5f9c1b5af698d292acafac0

commit c25d18bb3d01ccb3d5f9c1b5af698d292acafac0
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-17 15:51:43 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:46:04 +0000

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

diff --git a/devel/ocaml-camljava/Makefile b/devel/ocaml-camljava/Makefile
index a00553a96508..b6db42532e30 100644
--- a/devel/ocaml-camljava/Makefile
+++ b/devel/ocaml-camljava/Makefile
@@ -19,6 +19,12 @@ MAKE_ARGS=	-e
 MAKE_ENV+=	CAMLJAVALIB=${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME} \
 		JDKHOME=${JAVA_HOME}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${JAVA_PORT_VERSION} >= 11



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