[MacPorts] #30206: mass change depends port:dbus to path:bin/dbus-daemon:dbus

MacPorts noreply at macports.org
Fri Jul 15 23:40:19 PDT 2011


#30206: mass change depends port:dbus to path:bin/dbus-daemon:dbus
----------------------------------+-----------------------------------------
 Reporter:  pixilla@…             |       Owner:  pixilla@…           
     Type:  enhancement           |      Status:  new                 
 Priority:  Normal                |   Milestone:                      
Component:  ports                 |     Version:  1.9.2               
 Keywords:  haspatch              |        Port:                      
----------------------------------+-----------------------------------------

Comment(by mk@…):

 Replying to [comment:6 dports@…]:
 > Sounds fine to me, though note the following nitpicking:
 >
 > `path:bin/dbus-daemon:dbus` should be written as `bin:dbus-daemon:dbus`
 (unless there's a reason not to). But I'd actually be inclined to write
 the dependency as  `lib:dbus:dbus` since it's presumably the library that
 these ports are depending on.
 bin: and lib: are dangerous, since they satisfy any executable or library
 found in the path.
 If you have multiple MacPorts setups on a system it is essential that the
 correct prefix is being used.
 So, the only workable way is to use path here!
 I am inclined to update the Guide accordingly.
 (This was the outcome of a thread on the dev mailing list a while ago.)

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


More information about the macports-tickets mailing list