Date: Fri, 15 Mar 2019 10:32:27 +0900 From: Koichiro Iwao <meta@FreeBSD.org> To: =?utf-8?Q?T=C4=B3l?= Coosemans <tijl@FreeBSD.org> Cc: Adam Weinberger <adamw@adamw.org>, ports@freebsd.org Subject: Re: loose dependency Message-ID: <20190315013227.cspgdqyw7gzua2bu@icepick.vmeta.jp> In-Reply-To: <20190314185043.4e566819@kalimero.tijl.coosemans.org> 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> <CAP7rwcgv0TGpkKcUQcGw_Vv-ONe%2BemXk9BWzR_dg%2BgUN2vGTPA@mail.gmail.com> <20190314185043.4e566819@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 14, 2019 at 06:50:43PM +0100, Tijl Coosemans wrote: > You mean building from ports versus poudriere? Poudriere would always > select ImageMagick6 with the BUILD_DEPENDS line above, but that's fine. > > Options aren't a good interface for this because the user can select an > option that conflicts with the installed version. It's not really a > port option but a system-wide option. If this needs to be configurable > for poudriere then an entry should be added to bsd.default-versions.mk. > Then the BUILD_DEPENDS line above can become: > > BUILD_DEPENDS= convert:graphics/ImageMagick${IMAGEMAGICK_DEFAULT} I'm still not sure whether OPTIONS for IM[67] are needed. tijl@ and adamw@ say different thing but the below works fine for me in both ports and pkg schenario. Even if IM6 installed, no problem for me. BUILD_DEPENDS= convert:graphics/ImageMagick7 -- meta <meta@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190315013227.cspgdqyw7gzua2bu>