How to find all dependents of go?

David Evans devans at macports.org
Thu Jan 14 15:31:11 PST 2016


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)
>>
>> 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.

Dave


More information about the macports-dev mailing list