diff options
author | das <das> | 2003-07-21 12:37:08 (GMT) |
---|---|---|
committer | das <das> | 2003-07-21 12:37:08 (GMT) |
commit | f0a90e3fd26871a2745797ee591e31221bd8d2c4 (patch) | |
tree | 0abada18937b899f617eab00360a79e17deb3dc6 /macosx | |
parent | 97bf00b7039aac761a8db7485a478bd426587fe3 (diff) | |
download | tk-f0a90e3fd26871a2745797ee591e31221bd8d2c4.zip tk-f0a90e3fd26871a2745797ee591e31221bd8d2c4.tar.gz tk-f0a90e3fd26871a2745797ee591e31221bd8d2c4.tar.bz2 |
* macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generation
broken by changes to tcl buildsystem.
Diffstat (limited to 'macosx')
-rwxr-xr-x | macosx/buildTkConfig.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/buildTkConfig.tcl b/macosx/buildTkConfig.tcl index 7f1350a..dba0c51 100755 --- a/macosx/buildTkConfig.tcl +++ b/macosx/buildTkConfig.tcl @@ -3,7 +3,7 @@ # Synthesize tkConfig.sh for Mac OS X based # on tclConfig.sh and tkConfig.sh.in # -# RCS: @(#) $Id: buildTkConfig.tcl,v 1.1 2002/09/26 17:07:33 das Exp $ +# RCS: @(#) $Id: buildTkConfig.tcl,v 1.1.2.1 2003/07/21 12:37:08 das Exp $ # # the next line restarts using tclsh \ exec tclsh8.4 "$0" "$@" @@ -27,7 +27,7 @@ proc main {tclConfigFile tkConfigFileIn tkConfigFile} { regsub -line -- "^TK_$var=.*\$" $tkConfig "TK_$var=$val" tkConfig } regsub -line -all -- {@[^@]+@} $tkConfig {} tkConfig - regsub -line -all -- {/[^/]+\.build/Tk.build} $tkConfig {} tkConfig + regsub -line -all -- {(/tk)/(?:Development|Deployment)} $tkConfig {\1} tkConfig regsub -line {^(TK_DEFS=')} $tkConfig {\1 -DMAC_OSX_TK} tkConfig set out [open $tkConfigFile w] |