Date: Sun, 11 Nov 2007 22:15:34 +0100 From: Erik Cederstrand <erik@cederstrand.dk> To: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: port build order Message-ID: <473770F6.6060305@cederstrand.dk> In-Reply-To: <4735F154.5080105@gmail.com> References: <4735F154.5080105@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Aryeh M. Friedman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > How do I get a list of ports that need to be made before a port is > made given the following: > > Note: Sorry for the *CAPS* stuff but I am using my standard specs > formating > > 1. The list *MUST* be in build order with the first port either being > the first or last line (make missing or pkg_info search=XXX > display=bdeps,rdeps) > 2. If the package is already installed it *MUST NOT* appear on the list > > The goal here is for any given port I want to be able to build each > dependency one at a time (to do some testing) and I have found hand > tracing through the dependency list on the web site to be extremely > tedious I don't think there's anything which does exactly what you want, but you could start with 'make pretty-print-build/run-depends-list' and script your way through from there. Since what you're trying to do is what the ports infrastructure already does, you could always take a look at the code. bsd.ports.mk is what you want, I think. Erik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?473770F6.6060305>