You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
9fd97292e6
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
12 lines
507 B
Diff
12 lines
507 B
Diff
--- Lib/sysconfig.py.orig 2021-02-19 23:31:44.000000000 +1100
|
|
+++ Lib/sysconfig.py 2021-03-15 02:15:41.000000000 +1100
|
|
@@ -417,7 +417,7 @@
|
|
f.write('# system configuration generated and used by'
|
|
' the sysconfig module\n')
|
|
f.write('build_time_vars = ')
|
|
- pprint.pprint(vars, stream=f)
|
|
+ pprint.pprint(vars, stream=f, width=4000)
|
|
|
|
# Create file used for sys.path fixup -- see Modules/getpath.c
|
|
with open('pybuilddir.txt', 'w', encoding='utf8') as f:
|