Re: [MacPorts] #12170: BUG: the default +universal variant shouldn't appear in ports where we know it won't work
#12170: BUG: the default +universal variant shouldn't appear in ports where we know it won't work --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@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@macports.org): Replying to [comment:9 raimue@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
participants (1)
-
MacPorts