Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:31 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: 7a53c5e36e04 - main - devel/ocaml-sexplib0: fix build on powerpc
Message-ID:  <202501122142.50CLgVGF095346@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=7a53c5e36e0469d1aa1f7754f215201688a0e772

commit 7a53c5e36e0469d1aa1f7754f215201688a0e772
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 13:53:50 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:35:47 +0000

    devel/ocaml-sexplib0: fix build on powerpc
    
    sh: /usr/local/bin/as: not found
---
 devel/ocaml-sexplib0/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/ocaml-sexplib0/Makefile b/devel/ocaml-sexplib0/Makefile
index 6e845cfeee6d..329a49bac511 100644
--- a/devel/ocaml-sexplib0/Makefile
+++ b/devel/ocaml-sexplib0/Makefile
@@ -21,6 +21,12 @@ OPTIONS_DEFINE=	DOCS
 DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
 PORTDOCS=	CHANGES.md LICENSE.md README.md
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e "s/(lang dune 3.11)/(lang dune 3.7)/" \



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