Date: Tue, 08 Feb 2011 15:36:49 +0100 From: Dominic Fandrey <kamikaze@bsdforen.de> To: Dan Langille <dan@langille.org> Cc: bf1783@gmail.com, "b. f." <bf1783@googlemail.com>, freebsd-ports@freebsd.org Subject: Re: What ports require this port? Message-ID: <4D515501.9030900@bsdforen.de> In-Reply-To: <003928a98b026742d7d6cb3a27fa7c2a.squirrel@nyi.unixathome.org> References: <AANLkTikg5cLG9B07bzL00p6q-uJ1KyiKEt5rWae50w-r@mail.gmail.com> <4D50188A.9030909@bsdforen.de> <003928a98b026742d7d6cb3a27fa7c2a.squirrel@nyi.unixathome.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/02/2011 21:13, Dan Langille wrote: > > 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 > ... > > $ make run-depends-list > /usr/ports/devel/gettext > ... > > ... > > 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? The value is mostly for ports maintainers, commiters and tool developers i.e. those who develop pointyhat, tinderbox, portmaster or my little project pkg_upgrade. I think the relevant question is, which information is needed by the freshports users. The way I see it there are two relevant user groups, those who use packages and those who build packages. The first group only needs the run-depends, the second group needs the combined run- and build-depends. So I think those two lists is exactly what you need. I don't see added value for the end user in providing more fine grained information. Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D515501.9030900>