diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-09-08 07:14:12 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-09-08 07:14:13 +0000 |
commit | 6823a3f85ee60c45c2f903be5e6ec62463e9f898 (patch) | |
tree | f9b1b9eeb6d6779cda19b1fd075980e9e6cf3d9d /www/geneweb/Makefile | |
parent | c1daeb9f7be4a0c360570d46bde1e474751eba1a (diff) | |
download | ports-6823a3f85ee60c45c2f903be5e6ec62463e9f898.tar.gz ports-6823a3f85ee60c45c2f903be5e6ec62463e9f898.zip |
www/geneweb: unbreak against safe-by-default strings in OCaml 4.06+.
Diffstat (limited to 'www/geneweb/Makefile')
-rw-r--r-- | www/geneweb/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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 |