How to find all dependents of go?

Daniel J. Luke dluke at geeklair.net
Thu Jan 14 15:36:25 PST 2016


On Jan 14, 2016, at 6:31 PM, David Evans <devans at 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)
>>> 
>>> 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.

port echo dependentof:go 

or
 
port echo rdependentof:go

?

-- 
Daniel J. Luke                                                                   
+========================================================+ 
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+ 
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+







More information about the macports-dev mailing list