git: 36d3c8e05ab2 - main - devel/ocaml-ppx_yojson_conv_lib: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 11:27:27 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=36d3c8e05ab2564d33c4fc1ae57246ac34af649b commit 36d3c8e05ab2564d33c4fc1ae57246ac34af649b Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-19 00:22:23 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-22 11:24:53 +0000 devel/ocaml-ppx_yojson_conv_lib: fix build on powerpc --- devel/ocaml-ppx_yojson_conv_lib/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/ocaml-ppx_yojson_conv_lib/Makefile b/devel/ocaml-ppx_yojson_conv_lib/Makefile index f9a392ff7b85..55399b236ec3 100644 --- a/devel/ocaml-ppx_yojson_conv_lib/Makefile +++ b/devel/ocaml-ppx_yojson_conv_lib/Makefile @@ -26,6 +26,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/(lang dune 3.11)/(lang dune 3.7)/" \