Ticket #16336 (new enhancement)
Allow multiple ports to satisfy a single dependency
| Reported by: | rhwood@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts base enhancements |
| Component: | base | Version: | 1.6.0 |
| Keywords: | Cc: | vinc17@…, raimue@…, macsforever2000@…, blb@…, febeling@…, ryandesign@… | |
| Port: |
Description
Currently there is no mechanism to specify that multiple ports may satisfy a single dependency requirement. It would be nice to be able to do so. I can think of two ways this can be done:
- OR dependencies
-
Allow dependencies to be specified in the following fashion:
port:able|baker|charlie
where the pipe is used to separate one or more ports that may satisfy a single dependency. The first port would be used if none of the ports are installed. There should be no limit to the number of pipes, nor should there be any requirement that any pipes be used (ie, no pipes = no alternate dependencies). This should also wotk with bin: and path: type dependencies. - "provides" capability in ports
- Use a "provides" key to specify that a port satisfies a particular requirement. Use the name of the port if a provides keyword is not specified. For example, if port able-devel specifies that it provides able then port able-devel would be able satisfy the dependency port:able in another port, without that other port having to be aware of port able-devel
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

