diff options
| author | Ned Deily <nad@acm.org> | 2013-10-28 02:50:34 (GMT) |
|---|---|---|
| committer | Ned Deily <nad@acm.org> | 2013-10-28 02:50:34 (GMT) |
| commit | f20ee9391cb3ccfb1932194d26b44df91ae2de67 (patch) | |
| tree | 06363e8d74920fec466057fa31205a7dec084a50 /Mac/BuildScript/build-installer.py | |
| parent | bb4b0aa51bc361188ffeee55ee49c7878c067903 (diff) | |
| parent | 94764b24aacfb9b46b217bd2bf964b722279ff0b (diff) | |
| download | cpython-f20ee9391cb3ccfb1932194d26b44df91ae2de67.zip cpython-f20ee9391cb3ccfb1932194d26b44df91ae2de67.tar.gz cpython-f20ee9391cb3ccfb1932194d26b44df91ae2de67.tar.bz2 | |
Issue #19373: merge from 3.3
Diffstat (limited to 'Mac/BuildScript/build-installer.py')
| -rwxr-xr-x | Mac/BuildScript/build-installer.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index 69f3ff7..0859b3a 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -215,6 +215,9 @@ def library_recipes(): name="Tk 8.5.15", url="ftp://ftp.tcl.tk/pub/tcl//tcl8_5/tk8.5.15-src.tar.gz", checksum='55b8e33f903210a4e1c8bce0f820657f', + patches=[ + "issue19373_tk_8_5_15_source.patch", + ], buildDir="unix", configure_pre=[ '--enable-aqua', @@ -797,8 +800,6 @@ def buildRecipe(recipe, basedir, archList): workDir = extractArchive(buildDir, sourceArchive) os.chdir(workDir) - if 'buildDir' in recipe: - os.chdir(recipe['buildDir']) for patch in recipe.get('patches', ()): if isinstance(patch, tuple): @@ -825,6 +826,9 @@ def buildRecipe(recipe, basedir, archList): runCommand('sh %s' % shellQuote(fn)) os.unlink(fn) + if 'buildDir' in recipe: + os.chdir(recipe['buildDir']) + if configure is not None: configure_args = [ "--prefix=/usr/local", |
