[73303] trunk/base/src/package1.0/portmpkg.tcl

jmr at macports.org jmr at macports.org
Tue Nov 9 16:48:38 PST 2010


Revision: 73303
          http://trac.macports.org/changeset/73303
Author:   jmr at macports.org
Date:     2010-11-09 16:48:35 -0800 (Tue, 09 Nov 2010)
Log Message:
-----------
pass variations along to dependencies in portmpkg (#27231)

Modified Paths:
--------------
    trunk/base/src/package1.0/portmpkg.tcl

Modified: trunk/base/src/package1.0/portmpkg.tcl
===================================================================
--- trunk/base/src/package1.0/portmpkg.tcl	2010-11-10 00:37:53 UTC (rev 73302)
+++ trunk/base/src/package1.0/portmpkg.tcl	2010-11-10 00:48:35 UTC (rev 73303)
@@ -86,7 +86,7 @@
 }
 
 proc portmpkg::make_one_package {portname portversion destination} {
-	global prefix package.destpath package.flat macportsuser
+	global prefix package.destpath package.flat macportsuser variations
 	if {[catch {set res [mport_lookup $portname]} result]} {
 		global errorInfo
 		ui_debug "$errorInfo"
@@ -103,7 +103,7 @@
 		if {[info exists portinfo(porturl)] && [info exists portinfo(version)] && $portinfo(version) == $portversion} {
 			# only the prefix gets passed to the worker.
 			ui_debug "building dependency package: $portname"
-			set worker [mport_open $portinfo(porturl) [list prefix $prefix package.destpath ${destination} package.flat ${package.flat}] {} yes]
+			set worker [mport_open $portinfo(porturl) [list prefix $prefix package.destpath ${destination} package.flat ${package.flat}] [array get variations] yes]
 			mport_exec $worker pkg
 			mport_close $worker
 		}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101109/a9eeaa63/attachment-0001.html>


More information about the macports-changes mailing list