Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:47:22 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: c9e60dafceae - main - devel/ocaml-ulex: fix build on powerpc
Message-ID:  <202501172147.50HLlMP9063484@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=c9e60dafceae8c8c1c4e949e64531c6e31495667

commit c9e60dafceae8c8c1c4e949e64531c6e31495667
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 14:56:57 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:48 +0000

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

diff --git a/devel/ocaml-ulex/Makefile b/devel/ocaml-ulex/Makefile
index 4d0ff8ac1e62..e9251cbaf6d0 100644
--- a/devel/ocaml-ulex/Makefile
+++ b/devel/ocaml-ulex/Makefile
@@ -22,6 +22,12 @@ OPTIONS_DEFINE=	DOCS
 
 DOCS_ALL_TARGET=	doc
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e '/^let latin1_sub_lexeme/,+3 \
 		s,^  s,  Bytes.to_string s,' ${WRKSRC}/ulexing.ml



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