Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:43:17 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: b9dc5e646ba2 - main - x11-toolkits/ocaml-graphics: fix build on powerpc
Message-ID:  <202501122143.50CLhHoK097257@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=b9dc5e646ba21099253cfdd14afc6fff39efa9f9

commit b9dc5e646ba21099253cfdd14afc6fff39efa9f9
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 11:27:28 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:54 +0000

    x11-toolkits/ocaml-graphics: fix build on powerpc
---
 x11-toolkits/ocaml-graphics/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/x11-toolkits/ocaml-graphics/Makefile b/x11-toolkits/ocaml-graphics/Makefile
index f34ffd7a59a9..a4648b5a5aa3 100644
--- a/x11-toolkits/ocaml-graphics/Makefile
+++ b/x11-toolkits/ocaml-graphics/Makefile
@@ -23,6 +23,12 @@ OPTIONS_DEFINE=		DOCS
 
 SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e "s/(name graphics)/&\n (version ${PORTVERSION})/" \



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