Date: Mon, 7 Feb 2011 15:13:37 -0500 From: "Dan Langille" <dan@langille.org> To: "Dominic Fandrey" <kamikaze@bsdforen.de> Cc: bf1783@gmail.com, "b. f." <bf1783@googlemail.com>, freebsd-ports@freebsd.org, Dan Langille <dan@langille.org> Subject: Re: What ports require this port? Message-ID: <003928a98b026742d7d6cb3a27fa7c2a.squirrel@nyi.unixathome.org> In-Reply-To: <4D50188A.9030909@bsdforen.de> References: <AANLkTikg5cLG9B07bzL00p6q-uJ1KyiKEt5rWae50w-r@mail.gmail.com> <4D50188A.9030909@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, February 7, 2011 11:06 am, Dominic Fandrey wrote: > On 07/02/2011 03:01, b. f. wrote: >>> Over the weekend, a new feature was added to FreshPorts BETA. A port >>> now lists all ports that require it. This code will eventually move to >>> production after it's been running on on the beta site for a while. >>> >>> Notes: >>> >>> * The code uses the output of make -V RUN_DEPENDS -V LIB_DEPENDS -V >>> BUILD_DEPENDS >> >> If you're going to include BUILD_DEPENDS, then you should also use -V >> PATCH_DEPENDS -V FETCH_DEPENDS. > > Maybe it should be split into "The package requires" only listing the > INSTALL_DEPENDS and "The port requires" listing all dependencies. Your post, combined with new information, has raised a question. Consider 'make build-depends-list' and 'make run-depends-list' for devel/glib20: $ make build-depends-list /usr/ports/devel/gettext /usr/ports/devel/gmake /usr/ports/devel/libtool /usr/ports/devel/pcre /usr/ports/devel/pkg-config /usr/ports/lang/perl5.8 /usr/ports/lang/python26 $ make run-depends-list /usr/ports/devel/gettext /usr/ports/devel/pcre /usr/ports/devel/pkg-config /usr/ports/lang/perl5.8 /usr/ports/lang/python26 The run-depends-list contains all of the information from LIB_DEPENDS and RUN_DEPENDS. The build-depends-list includes all of BUILD_DEPENDS, PATCH_DEPENDS, FETCH_DEPENDS, and EXTRACT_DEPENDS. I am tempted to alter FreshPorts and abandon all *_DEPENDS and use just run-depends-list and build-depends-list. How much value is there is having all of this information separated into individual _DEPENDS? -- Dan Langille -- http://langille.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003928a98b026742d7d6cb3a27fa7c2a.squirrel>