diff --git a/textproc/ocaml-spelll/Makefile b/textproc/ocaml-spelll/Makefile index af038ac3aac7..d9efb258dafd 100644 --- a/textproc/ocaml-spelll/Makefile +++ b/textproc/ocaml-spelll/Makefile @@ -1,34 +1,40 @@ PORTNAME= spelll DISTVERSIONPREFIX= v DISTVERSION= 0.4 CATEGORIES= textproc PKGNAMEPREFIX= ocaml- MAINTAINER= freebsd@dev.thsi.be COMMENT= Fuzzy search library for OCaml WWW= https://github.com/c-cube/spell LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= ocaml:dune USE_GITHUB= yes GH_ACCOUNT= c-cube DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= LICENSE README.md OPTIONS_DEFINE= DOCS +.include + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-patch: @${REINPLACE_CMD} \ -e "s/(lang dune.*/&\n(version ${DISTVERSION})/" \ ${WRKSRC}/dune-project @${REINPLACE_CMD} -e "s/(libraries seq stdlib-shims)//" \ ${WRKSRC}/src/dune post-install: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs .include