[23967] trunk/base/src/port/port.tcl

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 13 18:54:41 PDT 2007


Revision: 23967
          http://trac.macosforge.org/projects/macports/changeset/23967
Author:   jberry at macports.org
Date:     2007-04-13 18:54:40 -0700 (Fri, 13 Apr 2007)

Log Message:
-----------
Add a couple of global global_variations to hopefully fix variants.conf. Addresses #11720. Thanks Ingmar.

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2007-04-13 22:22:53 UTC (rev 23966)
+++ trunk/base/src/port/port.tcl	2007-04-14 01:54:40 UTC (rev 23967)
@@ -1388,7 +1388,7 @@
 
 
 proc action_selfupdate { action portlist opts } {
-	global global_options;
+	global global_options
 	if { [catch {darwinports::selfupdate [array get global_options]} result ] } {
 		global errorInfo
 		ui_debug "$errorInfo"
@@ -1400,6 +1400,7 @@
 
 
 proc action_upgrade { action portlist opts } {
+    global global_variations
 	require_portlist portlist
 	foreachport $portlist {
 		# Merge global variations into the variations specified for this port
@@ -1990,6 +1991,7 @@
 
 
 proc action_target { action portlist opts } {
+    global global_variations
 	set status 0
 	require_portlist portlist
 	foreachport $portlist {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070413/f76ae221/attachment.html


More information about the macports-changes mailing list