Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:43:30 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: fc39cb82cde0 - main - devel/ocaml-findlib: fix build on powerpc
Message-ID:  <202501122143.50CLhUHw097815@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=fc39cb82cde00dac6701b29b05a39e89ff8cd7f7

commit fc39cb82cde00dac6701b29b05a39e89ff8cd7f7
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 15:24:05 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:37:15 +0000

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

diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile
index a22b8717a0c7..37a403fda4a6 100644
--- a/devel/ocaml-findlib/Makefile
+++ b/devel/ocaml-findlib/Makefile
@@ -33,6 +33,12 @@ TOOLBOX_CONFIGURE_ON=	-with-toolbox
 TOOLBOX_RUN_DEPENDS=	labltk:x11-toolkits/ocaml-labltk
 TOOLBOX_BUILD_DEPENDS=	${TOOLBOX_RUN_DEPENDS}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 .include <bsd.port.pre.mk>
 
 post-install:



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