Skip to content

Commit

Permalink
devel/ocaml-ulex: unbreak against immutable strings in OCaml 4.06+.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Sep 8, 2021
1 parent c04e85e commit 3d7479a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devel/ocaml-ulex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ OPTIONS_DEFINE= DOCS

DOCS_ALL_TARGET= doc

post-patch:
@${REINPLACE_CMD} -e '/^let latin1_sub_lexeme/,+3 \
s,^ s, Bytes.to_string s,' ${WRKSRC}/ulexing.ml

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${WRKSRC}/*.css ${STAGEDIR}${DOCSDIR}
Expand Down

0 comments on commit 3d7479a

Please sign in to comment.