summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/geneweb/Makefile4
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