[111185] branches/gsoc13-tests/src/port1.0/tests/library.tcl

cal at macports.org cal at macports.org
Mon Sep 16 13:04:17 PDT 2013


Revision: 111185
          https://trac.macports.org/changeset/111185
Author:   cal at macports.org
Date:     2013-09-16 13:04:17 -0700 (Mon, 16 Sep 2013)
Log Message:
-----------
library.tcl from tests: fix xcodeversion and other deferred variables

Modified Paths:
--------------
    branches/gsoc13-tests/src/port1.0/tests/library.tcl

Modified: branches/gsoc13-tests/src/port1.0/tests/library.tcl
===================================================================
--- branches/gsoc13-tests/src/port1.0/tests/library.tcl	2013-09-16 19:17:42 UTC (rev 111184)
+++ branches/gsoc13-tests/src/port1.0/tests/library.tcl	2013-09-16 20:04:17 UTC (rev 111185)
@@ -67,17 +67,6 @@
         }
     }
 
-    foreach opt $macports::portinterp_deferred_options {
-        global macports::$opt
-        # define the trace hook.
-        proc trace_$opt {name1 name2 op} {
-            trace remove variable ::$opt read ::trace_$opt
-            global $opt
-            set $opt [getoption $opt]
-        }
-        # next access will actually define the variable.
-        trace add variable ::$opt read ::trace_$opt
-        # define some value now
-        set $opt "?"
-    }
-}
\ No newline at end of file
+	# We don't need to handle portinterp_deferred_options, they're
+	# automatically handled correctly.
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130916/bdf6e9c5/attachment.html>


More information about the macports-changes mailing list