On 2016-1-15 10:36 , Daniel J. Luke wrote: > On Jan 14, 2016, at 6:31 PM, David Evans <dev...@macports.org> wrote: >> On 1/14/16 3:25 PM, Clemens Lang wrote: >>> Hi, >>> >>> On Thu, Jan 14, 2016 at 09:28:48PM +0100, Christoph Iserlohn wrote: >>>> But >>>> $ port dependents go >>>> returns >>>> go has no dependents. >>>> which is clearly wrong. I have several ports depending on go installed, >>>> e.g.: >>>> $ port installed go-tools >>>> The following ports are currently installed: >>>> go-tools @65b5a8eca7a871e7c1d99722e4a43a4a6e32ebe0_0 (active)
It's only a build dependency, so once go-tools is installed, go is no longer required. >>>> No luck with port search either: >>>> $ port search --exact --depends_lib --depends_build go >>>> No match for go found >>> >>> Try port echo depends:go. >>> >> >> This is not too useful as it returns a list of ports whose dependencies >> have 'go' in their names. So you get the desired dependents plus ports >> that depend on pango, etc. You can construct a better regex like: port echo 'depends:\:go(\s|$)' > port echo dependentof:go > > or > > port echo rdependentof:go That queries the registry just like 'port dependents'. - Josh _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev