git: 63c1b6f524bb - main - devel/ocaml-compiler-libs: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:42:34 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=63c1b6f524bb652c45f3cb876249079b5bfee58d commit 63c1b6f524bb652c45f3cb876249079b5bfee58d Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-02 14:00:18 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-12 21:35:50 +0000 devel/ocaml-compiler-libs: fix build on powerpc --- devel/ocaml-compiler-libs/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/ocaml-compiler-libs/Makefile b/devel/ocaml-compiler-libs/Makefile index 007266fd98d2..b9b77f45d5ef 100644 --- a/devel/ocaml-compiler-libs/Makefile +++ b/devel/ocaml-compiler-libs/Makefile @@ -19,6 +19,12 @@ PORTDOCS= CHANGES.md LICENSE.md README.org OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-patch: @${REINPLACE_CMD} \ -e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \