x11-toolkits/ocaml-graphics: fix build on powerpc

This commit is contained in:
Piotr Kubaj 2025-01-11 12:27:28 +01:00
parent 406e2dec9a
commit b9dc5e646b

View file

@ -23,6 +23,12 @@ OPTIONS_DEFINE= DOCS
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USE_BINUTILS= yes
.endif
post-patch:
@${REINPLACE_CMD} \
-e "s/(name graphics)/&\n (version ${PORTVERSION})/" \