Skip to content

Commit d585f52

Browse files
maxbelangerned-deily
authored andcommitted
remove tcl tweaks, not strictly necessary here
1 parent 6307129 commit d585f52

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

Mac/BuildScript/build-installer.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -192,27 +192,6 @@ def getTargetCompilers():
192192
def internalTk():
193193
return getDeptargetTuple() >= (10, 6)
194194

195-
196-
def tweak_tcl_build(basedir, archList):
197-
with open("Makefile", "r") as fp:
198-
contents = fp.readlines()
199-
200-
# For reasons I don't understand the tcl configure script
201-
# decides that some stdlib symbols aren't present, before
202-
# deciding that strtod is broken.
203-
new_contents = []
204-
for line in contents:
205-
if line.startswith("COMPAT_OBJS"):
206-
# note: the space before strtod.o is intentional,
207-
# the detection of a broken strtod results in
208-
# "fixstrod.o" on this line.
209-
for nm in ("strstr.o", "strtoul.o", " strtod.o"):
210-
line = line.replace(nm, "")
211-
new_contents.append(line)
212-
213-
with open("Makefile", "w") as fp:
214-
fp.writelines(new_contents)
215-
216195
# List of names of third party software built with this installer.
217196
# The names will be inserted into the rtf version of the License.
218197
THIRD_PARTY_LIBS = []
@@ -254,7 +233,6 @@ def library_recipes():
254233
'--libdir=/Library/Frameworks/Python.framework/Versions/%s/lib'%(getVersion(),),
255234
],
256235
useLDFlags=False,
257-
buildrecipe=tweak_tcl_build,
258236
install='make TCL_LIBRARY=%(TCL_LIBRARY)s && make install TCL_LIBRARY=%(TCL_LIBRARY)s DESTDIR=%(DESTDIR)s'%{
259237
"DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')),
260238
"TCL_LIBRARY": shellQuote('/Library/Frameworks/Python.framework/Versions/%s/lib/tcl8.6'%(getVersion())),

0 commit comments

Comments
 (0)