On Mon, Jun 02, 2008 at 07:02:28PM -0700, Alan Coopersmith wrote: > Danek Duvall wrote: > > On Mon, Jun 02, 2008 at 12:30:22PM -0700, Alan Coopersmith wrote: > > > >> When an ELF object links against a shared library, pkg determines > >> which package that library is in and adds the dependency automatically. > >> > >> Is there a way to specify in distro-import or elsewhere a file that > >> a package depends on in way that pkg can't detect (such as a system() > >> or popen() call)? > > > > You can either add a depend action explicitly, or use the depend keyword to > > add a dependency. There are a handful of examples of this. > > Right - but the arguments to those are all package names right? Not > "whatever package in the repo that contains /usr/bin/pkg-config in this > build"?
Right. Bart addressed that in his response. I thought you were asking about using *either* a file or a package to specify a dependency. It's a good RFE to allow for the specification of a file to designate a dependency at import time (which would need to be resolved to a package name before publication is complete). Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
