From owner-freebsd-ports@freebsd.org Fri Mar 15 01:32:34 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C1DA1536A18 for ; Fri, 15 Mar 2019 01:32:34 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0ED3377965 for ; Fri, 15 Mar 2019 01:32:34 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id B9D3F1536A17; Fri, 15 Mar 2019 01:32:33 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A57F21536A16 for ; Fri, 15 Mar 2019 01:32:33 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4292E77962; Fri, 15 Mar 2019 01:32:33 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: from icepick.vmeta.jp (unknown [IPv6:2405:6586:2280:1200:d802:70a6:166b:77c0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: meta/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id E8073174E7; Fri, 15 Mar 2019 01:32:31 +0000 (UTC) (envelope-from meta@FreeBSD.org) Date: Fri, 15 Mar 2019 10:32:27 +0900 From: Koichiro Iwao To: =?utf-8?Q?T=C4=B3l?= Coosemans Cc: Adam Weinberger , ports@freebsd.org Subject: Re: loose dependency Message-ID: <20190315013227.cspgdqyw7gzua2bu@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> <20190314185043.4e566819@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190314185043.4e566819@kalimero.tijl.coosemans.org> X-Operating-System: FreeBSD 12.0-STABLE amd64 User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 4292E77962 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2019 01:32:34 -0000 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