diff --git a/devel/ocaml-camlp-streams/Makefile b/devel/ocaml-camlp-streams/Makefile index ba37eec41543..8a98930c24d0 100644 --- a/devel/ocaml-camlp-streams/Makefile +++ b/devel/ocaml-camlp-streams/Makefile @@ -1,30 +1,36 @@ PORTNAME= camlp-streams PORTVERSION= 5.0.1 DISTVERSIONPREFIX= v CATEGORIES= devel PKGNAMEPREFIX= ocaml- MAINTAINER= freebsd@dev.thsi.be COMMENT= Stream and Genlex libraries for OCaml WWW= https://github.com/ocaml/camlp-streams LICENSE= LGPL21 USES= ocaml:dune USE_GITHUB= yes GH_ACCOUNT= ocaml DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= CHANGES.md LICENSE README.md OPTIONS_DEFINE= DOCS +.include + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-patch: @${REINPLACE_CMD} \ -e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \ ${WRKSRC}/dune-project post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/camlp_streams.cmxs .include