> depends is what needs the specified port to build or run. > > I'm not getting anything back for dependentof. But depof (or rdepof) is what > the specified port needs to build or run. > > examples: > > port echo depends:vim > > (what directly depends on vim to build or run) > > The rdepends: selector is the recursive version of depends:, which is a > generalisation that matches the union of what all the depends_* > selectors (depends_build:, depends_lib: and so on) would match. Each of > the latter matches against the corresponding field in the PortIndex. So > rdepends: gives you all available ports that have the specified port > anywhere in their recursive dependencies.
When I run port echo depends:vim neovim-qt p5-text-vimcolor py-neovim rails.vim libvmaf gutils-suite-core mpvim neovim-remote nvimpager vim2html vimpager dosfstools (12 ports are listed) But when I run port echo rdepends:vim dosfstools gutils-suite gutils-suite-core gutils-suite-extra libvmaf mpvim rails.vim vim2html vimpager (9 ports are listed) My observations: why the differences between ‘depends:' and ‘rdepends:’ ? Perhaps the definition of “recursive” is not clear to me? -bernard
