[portmaster/pkg] Detecting build-only dependencies
matthew at FreeBSD.org
Sun May 11 07:47:53 UTC 2014
On 11/05/2014 08:27, A.J. 'Fonz' van Werven wrote:
> Matthew Seaman wrote:
>> so try running 'pkg autoremove -n' and inspect the output to see what
>> looks suitable.
> Thanks. As a followup question: is there a "pkg query" command that
> produces the same list as "pkg autoremove -n", but without the additional
You should try lokking at the pkg-query(8) man page. It's really quite
informative. It told me that the answer to your question is:
pkg query -e "%a = 1 && %#r = 0" %o
Dr Matthew J Seaman MA, D.Phil.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1036 bytes
Desc: OpenPGP digital signature
More information about the freebsd-ports