Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:43:33 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: 73add20eaac2 - main - x11-toolkits/ocaml-lablgtk2: fix build on powerpc
Message-ID:  <202501122143.50CLhXui097918@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=73add20eaac2f264d9ccfbcac8f2453e36157373

commit 73add20eaac2f264d9ccfbcac8f2453e36157373
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 15:41:49 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:37:18 +0000

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

diff --git a/x11-toolkits/ocaml-lablgtk2/Makefile b/x11-toolkits/ocaml-lablgtk2/Makefile
index f17eaabf95ff..84bef4f9d064 100644
--- a/x11-toolkits/ocaml-lablgtk2/Makefile
+++ b/x11-toolkits/ocaml-lablgtk2/Makefile
@@ -64,6 +64,12 @@ LIBRSVG2_CONFIGURE_WITH=rsvg
 LIBRSVG2_USE=		GNOME=librsvg2
 LIBRSVG2_VARS=		EXAMPLES_SUBDIRS+=rsvg
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}



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