textproc/ocaml-text: fix build on powerpc

This commit is contained in:
Piotr Kubaj 2025-01-19 13:04:11 +01:00
parent 63e09e12a2
commit 87ef976d70

View file

@ -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