loose dependency

Koichiro Iwao meta at FreeBSD.org
Fri Mar 15 01:32:34 UTC 2019


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 at FreeBSD.org>


More information about the freebsd-ports mailing list