Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:47:10 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: 1cf9ad81285d - main - lang/ocaml-camlidl: fix build on powerpc
Message-ID:  <202501172147.50HLlANH063004@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=1cf9ad81285de83d1f8ce1593f334eb1cc02223c

commit 1cf9ad81285de83d1f8ce1593f334eb1cc02223c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 13:34:30 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:31 +0000

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

diff --git a/lang/ocaml-camlidl/Makefile b/lang/ocaml-camlidl/Makefile
index e427ba167eaf..940c462429b5 100644
--- a/lang/ocaml-camlidl/Makefile
+++ b/lang/ocaml-camlidl/Makefile
@@ -23,6 +23,12 @@ DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME}
 OPTIONS_DEFINE=		DOCS
 DOCS_BUILD_DEPENDS=	hevea>=0:textproc/hevea
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${LN} -sf ${WRKSRC}/config/Makefile.unix ${WRKSRC}/config/Makefile
 



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