git: 3d7479aec9ae - main - devel/ocaml-ulex: unbreak against immutable strings in OCaml 4.06+.
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Sep 8 09:17:59 UTC 2021
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3d7479aec9ae41c81a004045cfb0d22eed433a49
commit 3d7479aec9ae41c81a004045cfb0d22eed433a49
Author: Alexey Dokuchaev <danfe at FreeBSD.org>
AuthorDate: 2021-09-08 09:16:52 +0000
Commit: Alexey Dokuchaev <danfe at FreeBSD.org>
CommitDate: 2021-09-08 09:16:53 +0000
devel/ocaml-ulex: unbreak against immutable strings in OCaml 4.06+.
---
devel/ocaml-ulex/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devel/ocaml-ulex/Makefile b/devel/ocaml-ulex/Makefile
index dc4a6bb54026..327fae0ad7c9 100644
--- a/devel/ocaml-ulex/Makefile
+++ b/devel/ocaml-ulex/Makefile
@@ -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}
More information about the dev-commits-ports-all
mailing list