1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

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

This commit is contained in:
Alexey Dokuchaev 2021-09-08 07:14:12 +00:00
parent c1daeb9f7b
commit 6823a3f85e

View File

@ -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