Date: Tue, 07 Sep 2010 08:53:59 +0200 From: Dominic Fandrey <kamikaze@bsdforen.de> To: perryh@pluto.rain.com Cc: freebsd-ports@freebsd.org, mandree@freebsd.org Subject: Re: Which DEPENDS if something is just needed during port install Message-ID: <4C85E187.1030108@bsdforen.de> In-Reply-To: <4c855947.ftPs1C6FNxVLQpvf%perryh@pluto.rain.com> References: <4C847D03.5090108@bsdforen.de> <4C85017A.10909@FreeBSD.org> <4c855947.ftPs1C6FNxVLQpvf%perryh@pluto.rain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/09/2010 23:12, perryh@pluto.rain.com wrote: > Matthias Andree <mandree@freebsd.org> wrote: > >> Am 06.09.2010 07:32, schrieb Dominic Fandrey: >>> What kind of dependency should I define if I just need something >>> for the install target? It's not needed before, not after and >>> not for the package. >>> >>> I used to think it's INSTALL_DEPENDS, but I just found out, that >>> doesn't even exist. >> >> BUILD_DEPENDS should do, no? Your dependency may then be built >> too early, but it's not recorded for later (unlike RUN_DEPENDS). > > It seems as if BUILD_DEPENDS should be _sufficient_ unless the > dependency is needed to install the package as well as to install > the port, but it demands more than is _necessary_ since the > dependency is not needed to simply build (without also installing). Yes, thank you everyone. I was simply unaware that BUILD_DEPENDS are guaranteed to be around during install. 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?4C85E187.1030108>