Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2014 08:47:33 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        "A.J. 'Fonz' van Werven" <freebsd@skysmurf.nl>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [portmaster/pkg] Detecting build-only dependencies
Message-ID:  <536F2B15.9060407@FreeBSD.org>
In-Reply-To: <20140511072702.GA75551@spectrum.skysmurf.nl>
References:  <20140510132949.GA29029@spectrum.skysmurf.nl> <536E2EB9.8070107@FreeBSD.org> <20140511072702.GA75551@spectrum.skysmurf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--qb4GkQIW2fivOD8JiC7eEJBSHNpGnQS60
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 11/05/2014 08:27, A.J. 'Fonz' van Werven wrote:
> Matthew Seaman wrote:
>=20
>> so try running 'pkg autoremove -n' and inspect the output to see what
>> looks suitable.
>=20
> Thanks. As a followup question: is there a "pkg query" command that
> produces the same list as "pkg autoremove -n", but without the addition=
al
> output?

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 =3D 1 && %#r =3D 0" %o

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--qb4GkQIW2fivOD8JiC7eEJBSHNpGnQS60
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJTbyscXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATP0kP/1sGcBAB3o6aPHvsRaUtOgPw
04S0i5wFPW2+7phRhY9u2PWyUz6tbD8SdjFfqRgXkiR/SS3o3OvbjWD5rUNEM0OX
jxPwCP21QigaSdnRD+BLouXguCW3a8AEUJdOXNEM+Ea/2JsRqG4Kvthnt1XJsCeY
1qBCRmXz5oGfm7x7Fjcvq+nHwHGkHi+CLTQfXutVGtBNRLSe1FDpHc4gyRPlU7AT
shyMr7tCKMDGxtvBzQZRFRiXlIpXgVfe51Tw2fkLNjYbR2tDDtybpjS+Q5dO8DNb
bRpljoAa/XkhZMxWXOhi/QaYpz2VL1hcAbjJWOASK9EXDPgmnB+J1cp+HXoc4ij6
cuFU/yC2vGoCkjmPcMiQ5ImHEYx4TlnuJGufc4cQvd9EFzNr6DbG+B4P4by7uoQY
3C9ICvY/EmxlFOi99Ptw9r9OCh3m/oB6S9MpFjMyraP6phaeWn5z9M1qJ3sYWHcY
SVwxLVkinm+4uL164O8YizyY6uLXAFSM7ukETcyUh8FUXxGHbv1MM9Z6dz45Hc/9
nhSzjHjGDXz+dKm9mbSB3ZhoDa3j6cRgNIFDBSZc8B7ZhQhvhmaw3YuEu4LMnc3Y
JD0CEWF7serNDM+nRiaAVVD1uxP+mF5Uj3FFAeGyqR48OOwBxbNA7AqxQRfOcu+a
F9/IxWgt2KZZ/xUnLsTX
=Y8B6
-----END PGP SIGNATURE-----

--qb4GkQIW2fivOD8JiC7eEJBSHNpGnQS60--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?536F2B15.9060407>