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

MacPorts noreply at macports.org
Mon Aug 29 11:22:46 PDT 2016


#52128: ld64: don't add unsupported subports
--------------------------+------------------------
  Reporter:  mojca@…      |      Owner:  jeremyhu@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  ld64         |
--------------------------+------------------------

Comment (by mojca@…):

 Ryan recently brought it up on the mailing list and we didn't reach any
 conclusion yet. We'll probably have to extend base (or some portgroup) to
 cover that case. We should open a ticket for that if there isn't one open
 already.

 At the moment an ugly "workaround" is to declare the port obsolete to
 avoid a build failure on the buildbot.

 But I wouldn't argue that we should "keep this broken" just because
 there's another similar case that we don't know how to handle yet.

 One option would be to add something like
 {{{
 if {${os.major} > 9} {
     stop-reading-this-file
 }
 }}}

 at the top of the `Portfile`. This wouldn't work in cases where the main
 port is not installable, but a subport is. But let's move that part of
 discussion elsewhere.

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


More information about the macports-tickets mailing list