From 87ef976d70cf456987c44cea25098c27562ac79a Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sun, 19 Jan 2025 13:04:11 +0100 Subject: [PATCH] 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 + +.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