[MacPorts] #52128: ld64: don't add unsupported subports

MacPorts noreply at macports.org
Mon Aug 29 03:04:54 PDT 2016


#52128: ld64: don't add unsupported subports
-------------------------+------------------------
 Reporter:  mojca@…      |      Owner:  jeremyhu@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  ld64
-------------------------+------------------------
 I mentioned this in comment:9:ticket:52091, but it's probably best to open
 a standalone ticket.

 I would like to request removal of subports that are not supported on a
 particular OS. Not that this is a problem in practice (not sure why users
 would intentionally try to install an unsupported dependency), but it
 generates "red flags" and "annoying" emails from the buildbot. Below is a
 patch that needs some additional cleanup (which Joshua might be eager to
 do :) to remove non-existing variants from the conflict list. Another
 minor disadvantage is that conditions like
 {{{
 if {${os.major} < 14}
 }}}
 are currently repeated twice. It would be more elegant to be able to write
 that condition just once (potentially next to variant description like
 "`(last version that works on Leopard)`")

-- 
Ticket URL: <https://trac.macports.org/ticket/52128>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list