On Mon, 2011-08-01 at 12:38 -0700, Alan Coopersmith wrote: > On 08/01/11 11:28, Danek Duvall wrote: > > The problem with using that statement is that pkgdepend isn't yet very > > savvy about dependencies that it generates that happen to be on the same > > package for which you have a statically-declared dependency (bug 16026). I > > don't think it'll break anything, but you'll end up with two dependencies. > > I think it will cause pkglint failures unless you include the necessary > overrides though.
Right - that'll be a message like: ERROR pkglint.manifest005.2 duplicate depend actions in pkg://opensolaris.org/pkglint/[email protected],5.11-0.141:20100604T143737Z foo To bypass, add the appropriate pkg.linted tag to the manually-introduced dependency, eg. depend type=require fmri=pkg:/foo pkg.linted.pkglint.manifest005.2=True It'd be good to add a comment above the action explaining why the manual dependency was introduced (and when it can be removed) cheers, tim _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
