[MacPorts] #12170: BUG: the default +universal variant shouldn't appear in ports where we know it won't work

MacPorts trac at macosforge.org
Thu May 8 05:27:10 PDT 2008


#12170: BUG: the default +universal variant shouldn't appear in ports where we know
it won't work
--------------------------------------+-------------------------------------
  Reporter:  ryandesign at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                   |      Status:  reopened                             
  Priority:  Normal                   |   Milestone:  MacPorts 1.6.1                       
 Component:  base                     |     Version:  1.4.42                               
Resolution:                           |    Keywords:                                       
--------------------------------------+-------------------------------------
Comment (by jmr at macports.org):

 Replying to [comment:9 raimue at macports.org]:
 > Instead of `platform_is_macosx`, can't you use this?
 {{{
 if {[info exists variations(macosx)] && $variations(macosx) == "+"}
 }}}

 I tried that, but it didn't seem to work. I think the variant isn't set
 any more at that point if the portfile doesn't contain a `platform macosx`
 block.

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


More information about the macports-tickets mailing list