Date: Thu, 14 Mar 2019 11:20:09 -0600 From: Adam Weinberger <adamw@adamw.org> To: Koichiro Iwao <meta@freebsd.org> Cc: =?UTF-8?Q?T=C4=B3l_Coosemans?= <tijl@freebsd.org>, ports@freebsd.org Subject: Re: loose dependency Message-ID: <CAP7rwcgv0TGpkKcUQcGw_Vv-ONe%2BemXk9BWzR_dg%2BgUN2vGTPA@mail.gmail.com> In-Reply-To: <20190314164134.nvafkejhmljsacep@icepick.vmeta.jp> References: <20190314.134014.2127053084940820202.hrs@allbsd.org> <20190314061242.ixvtakqiel4aa4r3@icepick.vmeta.jp> <20190314062217.3wx3h2hp74mo3zja@icepick.vmeta.jp> <20190314.165018.2032001534188262193.hrs@allbsd.org> <20190314100939.lsbmlua5hps5mdia@icepick.vmeta.jp> <20190314143330.2cc6bc8d@kalimero.tijl.coosemans.org> <20190314164134.nvafkejhmljsacep@icepick.vmeta.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 14, 2019 at 10:41 AM Koichiro Iwao <meta@freebsd.org> wrote: > > On Thu, Mar 14, 2019 at 02:33:30PM +0100, T=C4=B3l Coosemans wrote: > > Like hrs already said: since this is a build dependency you can just > > write: > > > > BUILD_DEPENDS=3D convert:graphics/ImageMagick6 > > > > This does not install ImageMagick6 if 7 is installed. It will only > > install 6 if convert does not exist. It is a loose dependency. > > I understand now. This is what I wanted. Perfect! > > > This is not the case for RUN_DEPENDS because dependencies in a package > > are currently specified using package names (including version). They > > would have to be specified using features where multiple packages can > > then provide a feature. > > That's good to know. I'd been thinking the only difference between RUN_ > and BUILD_DEPENDS is when the dependency is checked. This makes building from ports behave differently from pkg. Please, just make an OPTIONS_SINGLE for it, and default it to the current version (7), not the old version. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwcgv0TGpkKcUQcGw_Vv-ONe%2BemXk9BWzR_dg%2BgUN2vGTPA>