[39016] trunk/base/src/macports1.0/macports.tcl
afb at macports.org
afb at macports.org
Wed Aug 6 00:42:34 PDT 2008
Revision: 39016
http://trac.macosforge.org/projects/macports/changeset/39016
Author: afb at macports.org
Date: 2008-08-06 00:42:34 -0700 (Wed, 06 Aug 2008)
Log Message:
-----------
work around Leopard Tcl bugs (#16010)
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2008-08-06 07:41:46 UTC (rev 39015)
+++ trunk/base/src/macports1.0/macports.tcl 2008-08-06 07:42:34 UTC (rev 39016)
@@ -697,6 +697,13 @@
} else {
return -code error "Library directory '$libpath' must exist"
}
+
+ # unset environment an extra time, to work around bugs in Leopard Tcl
+ foreach envkey [array names env] {
+ if {[lsearch $keepenvkeys $envkey] == -1} {
+ unsetenv $envkey
+ }
+ }
}
proc macports::worker_init {workername portpath portbuildpath options variations} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080806/42d7a54d/attachment.html
More information about the macports-changes
mailing list