File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -271,10 +271,11 @@ def library_recipes():
271271 tk_patches = [ ]
272272
273273
274+ base_url = "https://prdownloads.sourceforge.net/tcl/{what}{version}-src.tar.gz"
274275 result .extend ([
275276 dict (
276277 name = "Tcl %s" % (tcl_tk_ver ,),
277- url = "ftp://ftp. tcl.tk/pub/tcl//tcl8_6/tcl%s-src.tar.gz" % ( tcl_tk_ver , ),
278+ url = base_url . format ( what = " tcl" , version = tcl_tk_ver ),
278279 checksum = tcl_checksum ,
279280 buildDir = "unix" ,
280281 configure_pre = [
@@ -291,7 +292,7 @@ def library_recipes():
291292 ),
292293 dict (
293294 name = "Tk %s" % (tcl_tk_ver ,),
294- url = "ftp://ftp.tcl.tk/pub/tcl//tcl8_6/tk%s-src.tar.gz" % ( tcl_tk_ver , ),
295+ url = base_url . format ( what = "tk" , version = tcl_tk_ver ),
295296 checksum = tk_checksum ,
296297 patches = tk_patches ,
297298 buildDir = "unix" ,
You can’t perform that action at this time.
0 commit comments