The portgroup replaces -I with -isystem, which breaks python's ability
to detect header dependencies for its stdlib modules.
Fixes: https://trac.macports.org/ticket/65301
Prevent line wrapping in _sysconfigdata.py so that '-arch foo' can't be
split across multiple lines, preventing the reinplace from removing it
correctly. In practice this only seems to have happened with universal
builds.
All variables being on a single line also means that awk is no longer
needed to edit LINKFORSHARED.
Also fix implicit declaration errors in python35's configure script.
Closes: https://trac.macports.org/ticket/61282
Generated with the following command:
rg -l -g Portfile ':openssl\b' ../macports-ports | grep -v '/lang/php/' | grep -v '/aqua/qt5' | xargs ./revbump-ports.sh
revbump-ports.sh is from https://github.com/yan12125/revbump-ports/tree/4a47ad53d5bc1553b86f48dfbf946bc9a466306c
Skipping lang/php and aqua/qt5 as only php*-{ftp,openssl} and
qt*-qtbase subports need revbumping, respectively.
The patch is from https://github.com/python/cpython/pull/12211. It's not
merged into official CPython 3.4 for timing reasons.
TLS functionality tested with the following script:
try:
import urllib.request as urllib_request
except ImportError:
import urllib2 as urllib_request
h = urllib_request.urlopen('https://httpbin.org/ip')
print(h.read().decode('utf-8'))