[MacPorts] #12563: explicitly setting implicit variants should be an error

MacPorts noreply at macports.org
Sat Feb 14 02:22:24 PST 2009


#12563: explicitly setting implicit variants should be an error
--------------------------------------------+-------------------------------
 Reporter:  Martin.Buchmann@…               |       Owner:  macports-tickets@…                   
     Type:  defect                          |      Status:  new                                  
 Priority:  Normal                          |   Milestone:  MacPorts Future                      
Component:  base                            |     Version:  1.5.2                                
 Keywords:                                  |        Port:                                       
--------------------------------------------+-------------------------------

Comment(by perry@…):

 Is there a convenient list of possible os.platform and os.arch values?  As
 far as I can tell, these values make up the majority of implicit variants
 (from looking at portmain.tcl).

 macports::worker_init looks like a good candidate to filter out or error
 on explicitly set implicit variants:

 {{{
  805     foreach {var val} $variations {
  806         $workername eval set variations($var) $val
  807     }
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/12563#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list