summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das>2003-07-21 12:37:08 (GMT)
committerdas <das>2003-07-21 12:37:08 (GMT)
commit6243496990215ef53794ff64c4e09ac9d1fcd9e6 (patch)
tree0abada18937b899f617eab00360a79e17deb3dc6 /macosx
parentdec1dbc99a392262b881585223e5d65aa2c5ffd9 (diff)
downloadtk-6243496990215ef53794ff64c4e09ac9d1fcd9e6.zip
tk-6243496990215ef53794ff64c4e09ac9d1fcd9e6.tar.gz
tk-6243496990215ef53794ff64c4e09ac9d1fcd9e6.tar.bz2
* macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generation
broken by changes to tcl buildsystem.
Diffstat (limited to 'macosx')
-rwxr-xr-xmacosx/buildTkConfig.tcl4
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]