git: 8785cb24c5da - main - devel/ocaml-sdl: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:47:02 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8785cb24c5dac2b2956c30136b7eadcb4e8deb8b
commit 8785cb24c5dac2b2956c30136b7eadcb4e8deb8b
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 12:54:35 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:20 +0000
devel/ocaml-sdl: fix build on powerpc
---
devel/ocaml-sdl/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-sdl/Makefile b/devel/ocaml-sdl/Makefile
index 7e1edb40d7d7..60ceeaae816a 100644
--- a/devel/ocaml-sdl/Makefile
+++ b/devel/ocaml-sdl/Makefile
@@ -48,6 +48,12 @@ SDL_MIXER_CONFIGURE_OFF=--disable-sdl-mixer
SDL_TTF_USE= SDL=ttf
SDL_TTF_CONFIGURE_OFF= --disable-sdl-ttf
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/*.so
${INSTALL_DATA} ${WRKSRC}/doc/ocamlsdl.info ${STAGEDIR}${PREFIX}/${INFO_PATH}