[55249] trunk/base/src/port1.0/portconfigure.tcl

jmr at macports.org jmr at macports.org
Fri Aug 7 15:18:15 PDT 2009


Revision: 55249
          http://trac.macports.org/changeset/55249
Author:   jmr at macports.org
Date:     2009-08-07 15:18:14 -0700 (Fri, 07 Aug 2009)
Log Message:
-----------
further to r55245, put 'global option_defaults' in the right proc

Modified Paths:
--------------
    trunk/base/src/port1.0/portconfigure.tcl

Modified: trunk/base/src/port1.0/portconfigure.tcl
===================================================================
--- trunk/base/src/port1.0/portconfigure.tcl	2009-08-07 22:13:57 UTC (rev 55248)
+++ trunk/base/src/port1.0/portconfigure.tcl	2009-08-07 22:18:14 UTC (rev 55249)
@@ -70,7 +70,7 @@
 ##
 # Local helper proc
 proc portconfigure::add_build_dep { type dep } {
-    global ${type}.cmd
+    global ${type}.cmd option_defaults
 
     if {![info exists ${type}.cmd] || (
         ([info exists option_defaults(${type}.cmd)] && [set ${type}.cmd] == $option_defaults(${type}.cmd)) ||
@@ -84,7 +84,6 @@
 # Adds dependencies for the binaries which will be called, but only if it is
 # the default. If .cmd was overwritten the port has to care for deps itself.
 proc portconfigure::set_configure_type {option action args} {
-    global option_defaults
     global autoreconf.cmd automake.cmd autoconf.cmd xmkmf.cmd
 
     array set configure_map {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090807/d1e54cf3/attachment.html>


More information about the macports-changes mailing list