git: 6823a3f85ee6 - main - www/geneweb: unbreak against safe-by-default strings in OCaml 4.06+.

Alexey Dokuchaev danfe at FreeBSD.org
Wed Sep 8 07:15:34 UTC 2021


The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6823a3f85ee60c45c2f903be5e6ec62463e9f898

commit 6823a3f85ee60c45c2f903be5e6ec62463e9f898
Author:     Alexey Dokuchaev <danfe at FreeBSD.org>
AuthorDate: 2021-09-08 07:14:12 +0000
Commit:     Alexey Dokuchaev <danfe at FreeBSD.org>
CommitDate: 2021-09-08 07:14:13 +0000

    www/geneweb: unbreak against safe-by-default strings in OCaml 4.06+.
---
 www/geneweb/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/geneweb/Makefile b/www/geneweb/Makefile
index d3d684d7ba80..6b07721727f9 100644
--- a/www/geneweb/Makefile
+++ b/www/geneweb/Makefile
@@ -26,6 +26,10 @@ MAKE_ENV+=	STAGEDIR=${STAGEDIR}
 SUB_FILES+=	pkg-message
 USE_RC_SUBR=	gwd
 
+post-patch:
+	@${REINPLACE_CMD} -e 's,52,& -unsafe-string,' \
+		${WRKSRC}/tools/Makefile.inc.unix
+
 post-install:
 	(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} distrib)
 	${INSTALL_DATA} ${WRKSRC}/etc/a.gwf ${STAGEDIR}${PREFIX}/share/geneweb


More information about the dev-commits-ports-main mailing list