|> - How do you prevent the situation in which multiple packages could
|> satisfy a dependency but they have different names?  Conversely, how
|> would you prevent the existence of incompatible packages with the same
|> names?

Fink under MacOS X seems to have a solution for this.  For example in cases
where X11 support can come either from Apple's X11 supplied with the OS or
X.org / Xfree86 externally.

The solution is to have both the specific package (with a unique name) as
well as a virtual package such as "x11".  Then each of the specific packages
tells Fink that it implements the "x11" virtual package, and any packages that
depend on X11 record the dependency on the virtual package, not the specific
variant installed.

Hugh.
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to