From owner-freebsd-ports@freebsd.org Thu Mar 14 04:42:22 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 21FBD152C1C3 for ; Thu, 14 Mar 2019 04:42:22 +0000 (UTC) (envelope-from hrs@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 AA5A88996A for ; Thu, 14 Mar 2019 04:42:21 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 693E7152C1C2; Thu, 14 Mar 2019 04:42:21 +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 57A47152C1C1 for ; Thu, 14 Mar 2019 04:42:21 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (mx-int.allbsd.org [IPv6:2001:2f0:104:e002::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.allbsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 934C589964; Thu, 14 Mar 2019 04:42:20 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail-d.allbsd.org (p2452109-ipngn10801funabasi.chiba.ocn.ne.jp [180.13.106.109]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id x2E4fiZg042718 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) (Client CN "/CN=mail.allbsd.org", Issuer "/C=US/O=Let's+20Encrypt/CN=Let's+20Encrypt+20Authority+20X3"); Thu, 14 Mar 2019 13:42:05 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from alph.d.allbsd.org (alph.allbsd.org [192.168.0.10]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id x2E4ffJV037133 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 14 Mar 2019 13:41:44 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [[UNIX: localhost]]) (authenticated bits=0) by alph.d.allbsd.org (8.15.2/8.15.2) with ESMTPA id x2E4eNFN037113; Thu, 14 Mar 2019 13:40:25 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Thu, 14 Mar 2019 13:40:14 +0900 (JST) Message-Id: <20190314.134014.2127053084940820202.hrs@allbsd.org> To: meta@FreeBSD.org Cc: ports@FreeBSD.org Subject: Re: loose dependency From: Hiroki Sato In-Reply-To: <20190314031726.aaspgwdcuithhgnc@icepick.vmeta.jp> References: <20190314031726.aaspgwdcuithhgnc@icepick.vmeta.jp> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Thu_Mar_14_13_40_14_2019_237)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.6.2 (mail.allbsd.org [133.31.130.41]); Thu, 14 Mar 2019 13:42:12 +0900 (JST) X-Spam-Status: No, score=-97.4 required=13.0 tests=CONTENT_TYPE_PRESENT, QENCPTR1,UNPARSEABLE_RELAY,URIBL_SC2_SURBL,URIBL_XS_SURBL, USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mx.allbsd.org 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: Thu, 14 Mar 2019 04:42:22 -0000 ----Security_Multipart(Thu_Mar_14_13_40_14_2019_237)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Koichiro Iwao wrote in <20190314031726.aaspgwdcuithhgnc@icepick.vmeta.jp>: me> Hi, me> me> If a port have runtime dependency on bin/convert command of ImageMagick me> but whichever ImageMagick{6,7}{,-nox11} are OK, how port Makefile should me> be written? me> me> ImageMagick6 and 7 conflicts each other. I want to respect user's me> choice which ImageMagick to use. There is no easy solution to solve it completely because currently package dependency is solved in a strict manner including package names and version numbers, not only existence of specific files. Creating multiple ports which depend on each software or using FLAVORS to make it easier is a way to provide packages with every possible combinations of dependency and let one to choose. -- Hiroki ----Security_Multipart(Thu_Mar_14_13_40_14_2019_237)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iEYEABECAAYFAlyJ2y4ACgkQTyzT2CeTzy0CuACcDZ24ZzTOF7gi4C6U3/KUbAqD 9TkAnRvkeYCA0tlgfioXsetKH5Gw4U2r =ltM+ -----END PGP SIGNATURE----- ----Security_Multipart(Thu_Mar_14_13_40_14_2019_237)----