git: 87ef976d70cf - main - textproc/ocaml-text: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 11:27:39 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=87ef976d70cf456987c44cea25098c27562ac79a commit 87ef976d70cf456987c44cea25098c27562ac79a Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-19 12:04:11 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-22 11:25:11 +0000 textproc/ocaml-text: fix build on powerpc --- textproc/ocaml-text/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/textproc/ocaml-text/Makefile b/textproc/ocaml-text/Makefile index 93adf2859789..57da1cc2f044 100644 --- a/textproc/ocaml-text/Makefile +++ b/textproc/ocaml-text/Makefile @@ -29,6 +29,12 @@ PCRE_CONFIGURE_ENABLE= pcre PCRE_BUILD_DEPENDS= ${SA_DIR}/pcre/pcre.a:devel/ocaml-pcre PCRE_RUN_DEPENDS= ${SA_DIR}/pcre/pcre.a:devel/ocaml-pcre +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-patch: @${REINPLACE_CMD} -e 's,"install" :: findlib_name,"install" :: "-destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,' \ ${WRKSRC}/setup.ml