git: 6f36e031f012 - main - devel/ocaml-ocplib-endian: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:46:55 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f36e031f012d4215cf1e7ec72a76f497291739e commit 6f36e031f012d4215cf1e7ec72a76f497291739e Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-16 10:34:34 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-17 21:45:11 +0000 devel/ocaml-ocplib-endian: fix build on powerpc --- devel/ocaml-ocplib-endian/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/ocaml-ocplib-endian/Makefile b/devel/ocaml-ocplib-endian/Makefile index 6eb2068e7820..6cd9ce74119a 100644 --- a/devel/ocaml-ocplib-endian/Makefile +++ b/devel/ocaml-ocplib-endian/Makefile @@ -20,6 +20,12 @@ PORTDOCS= CHANGES.md README.md 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})/" \