Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:47:16 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: c374c227be75 - main - devel/ocaml-camomile: fix build on powerpc
Message-ID:  <202501172147.50HLlGcN063268@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=c374c227be75c5daa031287de578c17b9a74511f

commit c374c227be75c5daa031287de578c17b9a74511f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 14:51:58 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:40 +0000

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

diff --git a/devel/ocaml-camomile/Makefile b/devel/ocaml-camomile/Makefile
index 9324d3b6fce1..eb18700c9469 100644
--- a/devel/ocaml-camomile/Makefile
+++ b/devel/ocaml-camomile/Makefile
@@ -28,6 +28,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 '/^INSTALL_ARGS/ \
 		s:$$: $$(if $$(LIBDIR),--libdir $$(LIBDIR),):' \



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