#19751: subversion +no_bdb still requires Berkeley DB -------------------------------------+-------------------------------------- Reporter: com-macosforge@… | Owner: dluke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: subversion -------------------------------------+-------------------------------------- Comment(by dluke@…): Replying to [comment:5 blair@…]:
A couple of thoughts.
1) serf should not list the dependencies of it's direct dependents. That gets serf into having the same variants as apr-util, which I don't want.
While that might be true, serf does have a library dependency on bdb when built against an apr-util that also has a library dependency on bdb (which is the default). It should probably declare a dependency on bdb (and have a +no_bdb variant that just removes that dependency) so that MacPorts warns the end user that removing bdb will break serf.
2) MacPorts is not like RPM or other packaging systems that can dynamically determine the .so's or .dylibs that the package requires, so that's why it falls down here. For example, rpmbuild would have seen that libserf-0.dylib depends upon libdb-4.6.dylib so it would not have let you uninstall db46.
true, I'm sure a patch to base would be welcome ;-) -- Ticket URL: <http://trac.macports.org/ticket/19751#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS