summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das@noemail.net>2003-07-21 12:39:49 (GMT)
committerdas <das@noemail.net>2003-07-21 12:39:49 (GMT)
commitb3f57c9329b8f28832bdbef8f5b4bf3719727a1d (patch)
treed9865fd05d6460f0515037a01643407a24ee6bd2 /macosx
parentce8d6dda7850fd994e4163fb2586127278842fa0 (diff)
downloadtk-b3f57c9329b8f28832bdbef8f5b4bf3719727a1d.zip
tk-b3f57c9329b8f28832bdbef8f5b4bf3719727a1d.tar.gz
tk-b3f57c9329b8f28832bdbef8f5b4bf3719727a1d.tar.bz2
* macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generation
broken by changes to tcl buildsystem. FossilOrigin-Name: 139bf25716a86f7326094a17dd08d979ab9cf93d
Diffstat (limited to 'macosx')
-rwxr-xr-xmacosx/buildTkConfig.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/buildTkConfig.tcl b/macosx/buildTkConfig.tcl
index acf9615..8f8f86f 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.2 2003/03/21 01:43:58 das Exp $
+# RCS: @(#) $Id: buildTkConfig.tcl,v 1.3 2003/07/21 12:39:50 das Exp $
#
# the next line restarts using tclsh \
exec tclsh8.4 "$0" "$@"
@@ -27,8 +27,8 @@ 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 {^(TK_DEFS=')} $tkConfig {\1 -DMAC_OSX_TK } 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]
puts $out $tkConfig