Tom Mueller wrote: > I tried adding the following: > > pkg:/[EMAIL PROTECTED] is a simple package with an optional dependency: > depend fmri=pkg:/[EMAIL PROTECTED] type=optional > > (Note that there is no [EMAIL PROTECTED] in the repository.) > > Then I tried both "pkg image-update" and "pkg install [EMAIL PROTECTED]" and > both > succeeded with no complaint about there not being a [EMAIL PROTECTED] there. > > I don't see any open issues on the incorporate behavior - should I > create one? >
An optional dependency is just that. Above, it has the semantic that should a version of "b" be installed, that it must be at least version 2. To require all optional dependencies to exist in the repo would prevent cross-repo dependencies and make publishing circular dependencies somewhat problematic. -= Bart -- Bart Smaalders Solaris Kernel Performance [EMAIL PROTECTED] http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird." _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
