Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:38 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: 67ee523d384f - main - devel/ocaml-pp_loc: fix build on powerpc
Message-ID:  <202501122142.50CLgcdv095622@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=67ee523d384fda1cb1fcc9e958ec463db330cff0

commit 67ee523d384fda1cb1fcc9e958ec463db330cff0
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 14:28:07 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:35:57 +0000

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

diff --git a/devel/ocaml-pp_loc/Makefile b/devel/ocaml-pp_loc/Makefile
index 41d3f1467f9a..3993d28701cf 100644
--- a/devel/ocaml-pp_loc/Makefile
+++ b/devel/ocaml-pp_loc/Makefile
@@ -20,6 +20,12 @@ PORTDOCS=	CHANGES LICENSE README.md
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-install:
 	@${STRIP_CMD} \
 		${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs



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