summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-10-12 05:48:36 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-10-12 05:48:36 +0000
commitf4a4dc0088b0394ed32ae93d6e28b7bef2fd98b6 (patch)
tree8a77e6d6dd728c65a74eb90b11c5d95d64fff2e9
parentwww/py-requests: Remove trailing slash added while QA'ing. (diff)
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
Notes
Notes: svn path=/head/; revision=552097
-rw-r--r--www/uwsgi/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/uwsgi/Makefile b/www/uwsgi/Makefile
index c0354c2c9068..02731b69f900 100644
--- a/www/uwsgi/Makefile
+++ b/www/uwsgi/Makefile
@@ -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