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

MacPorts noreply at macports.org
Tue Aug 19 05:59:18 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:  MacPorts base enhancements           
 Component:  base                 |     Version:  1.6.0                                
Resolution:                       |    Keywords:                                       
----------------------------------+-----------------------------------------
Comment (by febeling at macports.org):

 I was thinking about this the other day, and one workaround I though of
 was this:

 {{{
 depends_lib port:able

 variant baker conflicts charlie {
   depends_lib-delete port:able
   depends_lib-append port:baker
 }
 variant charlie conflicts baker {
   depends_lib-delete port:able
   depends_lib-append port:charlie
 }
 }}}

 One real downside it probably to compile the conflicts lists by hand,
 which is error-prone. And I haven't tested it. Maybe it doesn't work ;)

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


More information about the macports-tickets mailing list