[MacPorts] #16336: Allow multiple ports to satisfy a single dependency

MacPorts noreply at macports.org
Mon Aug 18 03:07:21 PDT 2008


#16336: Allow multiple ports to satisfy a single dependency
---------------------------------+------------------------------------------
 Reporter:  rhwood at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  enhancement          |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.6.0                                
 Keywords:                       |  
---------------------------------+------------------------------------------
 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:[[BR]]{{{port:able|baker|charlie}}}[[BR]]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'''

-- 
Ticket URL: <http://trac.macports.org/ticket/16336>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list