Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2025 11:27:28 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: 501fd6d1100f - main - devel/ocaml-ppx_js_style: fix build on powerpc
Message-ID:  <202501221127.50MBRSZ4046144@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=501fd6d1100fc01016e568db0785662a6cbc4015

commit 501fd6d1100fc01016e568db0785662a6cbc4015
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-19 00:28:01 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-22 11:24:55 +0000

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

diff --git a/devel/ocaml-ppx_js_style/Makefile b/devel/ocaml-ppx_js_style/Makefile
index 710ad2fe6ecd..eb4e38c24066 100644
--- a/devel/ocaml-ppx_js_style/Makefile
+++ b/devel/ocaml-ppx_js_style/Makefile
@@ -30,6 +30,12 @@ OPTIONS_DEFINE=	DOCS
 
 SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
 
+.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?202501221127.50MBRSZ4046144>