loose dependency
Hiroki Sato
hrs at FreeBSD.org
Thu Mar 14 04:42:22 UTC 2019
Koichiro Iwao <meta at FreeBSD.org> wrote
in <20190314031726.aaspgwdcuithhgnc at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20190314/fb4a64f2/attachment.sig>
More information about the freebsd-ports
mailing list