Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:54 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: 1765e4b4fa70 - main - devel/ocaml-domain-name: fix build on powerpc
Message-ID:  <202501122142.50CLgsxl096255@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=1765e4b4fa704e764384f9d5ead73ede81a8eeb1

commit 1765e4b4fa704e764384f9d5ead73ede81a8eeb1
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-06 11:45:45 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:21 +0000

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

diff --git a/devel/ocaml-domain-name/Makefile b/devel/ocaml-domain-name/Makefile
index 97c04ecd5401..9a8a3fb8613c 100644
--- a/devel/ocaml-domain-name/Makefile
+++ b/devel/ocaml-domain-name/Makefile
@@ -20,6 +20,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/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \



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