Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2020 05:48:37 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552097 - head/www/uwsgi
Message-ID:  <202010120548.09C5mbcs085167@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010120548.09C5mbcs085167>