From owner-freebsd-ports@FreeBSD.ORG Sat May 10 13:51:07 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE88C5D3 for ; Sat, 10 May 2014 13:51:06 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 704CFED0 for ; Sat, 10 May 2014 13:51:06 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s4ADowaf001123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 10 May 2014 14:50:59 +0100 (BST) (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s4ADowaf001123 Authentication-Results: smtp.infracaninophile.co.uk/s4ADowaf001123; dkim=none reason="no signature"; dkim-adsp=none Message-ID: <536E2EB9.8070107@FreeBSD.org> Date: Sat, 10 May 2014 14:50:49 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: [portmaster/pkg] Detecting build-only dependencies References: <20140510132949.GA29029@spectrum.skysmurf.nl> In-Reply-To: <20140510132949.GA29029@spectrum.skysmurf.nl> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ataJkjNJq4ifSHxRhVfjmLJcMmXlAKQQB" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2014 13:51:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ataJkjNJq4ifSHxRhVfjmLJcMmXlAKQQB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/05/2014 14:29, A.J. 'Fonz' van Werven wrote: > A quick question if I may: in a setup using Portmaster and pkg, is ther= e > any way (some kind of "pkg query" perhaps?) to obtain a list of which > currently installed ports are build-only dependencies? pkg(8) only deals with run-time dependencies. It also marks ports that were not specifically requested to be installed as candidates for automatic removal. Build dependencies should fit the conditions for autoremoval -- flagged as suitable and not having anything else depending on them -- so try running 'pkg autoremove -n' and inspect the output to see what looks suitable. Of course, this will not be completely accurate. You may have installed a specific port by hand so it doesn't get the build dependency flag. You may have packages installed that used to be dependencies of something else, since removed. You're going to have to use your own skill and judgement to decide. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --ataJkjNJq4ifSHxRhVfjmLJcMmXlAKQQB 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/ iQJ8BAEBCgBmBQJTbi7CXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATOWUQAIVAQWFbb+o7mwAKteeF20Tp /ngE30R5ueqO5UKqbO9JrZVwDbwj8o8X/YMXRbKtUQJ+hzc4Poy+ztmD3RONMf98 GoPhM2tvQymnZmvyU1hNK9hyWfZDsCYUkMsm/JrCQH4AlzcWE4eXblEucdznCIbs 4H21N6pDtikOuZmJHtOZgM2rjvtj0u1Rs0LgoS1CuBpmmqtqe3fqg7LA3RKyiScz hNL0oeLhzUyGXuG0WB+8Nt8djQpG1/raE2CbcvmO6eyKR8xX0YYeFxMnMYjFEkOk 5RONnoufz3xzSmdhEPlOBpOHxMeUMhYaYQboeUE8heDI/N9slyYGQcGfB6aOP+S+ odY2FQR7gBjwaeyxgtNuTDXd5og7+glQfwdZsIogOG27QcuvZ/1r9k3It4EVEnkN B1TROQfr9WhJRPZU6mZAt8YUrqlXwzFSb9kYJOS9e09ac54o8L67v7pcWHoyVSyz fPFNjoq8QtybKQsOrodUKwozhiTmesWyNg1dKfTL8JSc4Ycow9PovoIT1A4qJtFA yyaiB7FmfdjmAhJu8DJtDTl7PR5S+P/rnrg/HSDoe2Sy6hJ+Ct4oGCmDad/sBZKF x2wsyEXngPb8LAgOxiJxxneFfwCJ7PqnIG5kEkfuWAIhLRfTDsBp+Pw/wQOGDbYz SYGlpiXXd43XJ7chnzti =GdaH -----END PGP SIGNATURE----- --ataJkjNJq4ifSHxRhVfjmLJcMmXlAKQQB--