Following up on github bug #1395: The uwsgi port isn't setup to work with SSL correctly. If two API-incompatible versions are installed (in base and from ports) linking/building goes rather badly. To prepare uwsgi for building against other SSL libraries, I'd appreciate the following patch to the Makefile: --- www/uwsgi/Makefile.orig +++ www/uwsgi/Makefile @@ -12,7 +12,7 @@ COMMENT= Developer-friendly WSGI server which uses uwsgi proto LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python +USES= python ssl USE_PYTHON= distutils USE_RC_SUBR= uwsgi @@ -43,6 +43,8 @@ O_XML= libxml2 O_XML= false .endif +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= ${OPENSSL_LDFLAGS} MAKE_ENV+= CPUCOUNT=${MAKE_JOBS_NUMBER} UWSGI_EMBED_PLUGINS=cgi PYSETUP= uwsgiconfig.py
Created attachment 177685 [details] Fix uwsgi compile/link with SSL Was in a hurry, here's a proper patch.
A commit references this bug: Author: demon Date: Tue Dec 13 11:30:52 UTC 2016 New revision: 428478 URL: https://svnweb.freebsd.org/changeset/ports/428478 Log: Correct OpenSSL support. PR: 215047 Submitted by: Melvyn Sopacua <m.r.sopacua@gmail.com> Changes: head/www/uwsgi/Makefile
Thanks!