Print +REQUIRED_BY as tree?

Doug Barton dougb at FreeBSD.org
Mon Sep 12 19:43:05 UTC 2011


On 09/12/2011 12:06, Lev Serebryakov wrote:
> Hello, Eric.
> You wrote 12 сентября 2011 г., 21:33:58:
> 
>> Not aware of a command line tool, but the beta version of the freshports
>> website show what ports require the selected port in order to run, which
>> what I think you want.
>   Oh. For gcc45, for example, list is soobig, that command line tool,
>  working only on installed ports, will be much more useful.

It's not as easy to represent the data in the way you describe as you
might think. Something like gcc is going to have multiple entry points
in a graph, which is really hard to represent in a (sort of)
1-dimensional structure like a tree.

I haven't seen any tools that do this well, although I would be happy to
be wrong about it.



>   And it is too fresh :) I have gcc44 installed (and needed to RUN
>  something!), and it is deprecated. freshports doesn't know about
>  gcc44 a lot, because it uses more new ports database. And I don't
>  understand, which port in +REQUIRED_BY of gcc44 is root of all this
>  evil -- IMHO, I don't have any ports, which needs gcc to RUN :)

I would imagine that all of the ones you compiled with it do since they
are almost certainly linked with the libgcc that comes with gcc44.


hth,

Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/



More information about the freebsd-ports mailing list