svn commit: r552097 - head/www/uwsgi
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Oct 12 05:48:37 UTC 2020
Author: danfe
Date: Mon Oct 12 05:48:36 2020
New Revision: 552097
URL: https://svnweb.freebsd.org/changeset/ports/552097
Log:
Unbreak the build with -fno-common (Clang 11, GCC 10): looks like that
the code is aware of this, but bogusly checked for Apple platform only.
Reported by: maintainer
Modified:
head/www/uwsgi/Makefile
Modified: head/www/uwsgi/Makefile
==============================================================================
--- head/www/uwsgi/Makefile Mon Oct 12 05:41:28 2020 (r552096)
+++ head/www/uwsgi/Makefile Mon Oct 12 05:48:36 2020 (r552097)
@@ -61,6 +61,8 @@ post-patch:
.for var in JSON PCRE XML SSL
@${REINPLACE_CMD} -e '/^${var:tl} =/ s|= .*|= ${BUILDCONF_${var}:Ufalse}|' ${WRKSRC}/buildconf/base.ini
.endfor
+ @${REINPLACE_CMD} -e '/ifdef/s,APPLE,${OPSYS},' \
+ ${WRKSRC}/plugins/psgi/psgi_plugin.c
post-patch-PSGI-on:
@${REINPLACE_CMD} -e 's/%(main_plugin)s,/%(main_plugin)s, psgi,/' ${WRKSRC}/buildconf/base.ini
More information about the svn-ports-all
mailing list