git: 9424bb766c40 - main - devel/ocaml-magic: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:47:18 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=9424bb766c403dc9d2e2f9f3ffa88d40bfdf4723 commit 9424bb766c403dc9d2e2f9f3ffa88d40bfdf4723 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-16 14:52:29 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-17 21:45:41 +0000 devel/ocaml-magic: fix build on powerpc --- devel/ocaml-magic/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/ocaml-magic/Makefile b/devel/ocaml-magic/Makefile index 170af47b717a..72b284c05fb8 100644 --- a/devel/ocaml-magic/Makefile +++ b/devel/ocaml-magic/Makefile @@ -25,6 +25,12 @@ EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS EXAMPLES +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/magic/dllmagic_stubs.so