[Bug 289680] graphics/zbar: zbar pulls in graphics/ImageMagick7@x11 when x11 is disabled
Date: Thu, 18 Sep 2025 10:37:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289680 --- Comment #5 from Gleb Popov <arrowd@FreeBSD.org> --- (In reply to johannes.kunde from comment #4) provides/requires were implemented in pkg 2.2, but were unfortunately backed out in 2.3 dut to performance reasons. So yes, it is a WIP, but no ETA. > What would this change mean for the build options? Would the logic for selecting the appropriate flavor then be handled entirely by pkg, and the corresponding make knobs could be deprecated or removed? Flavors will stay, they are needed to produce -nofoo and -foo packages from a single port. Consumer ports will be switched to -nofoo by default so building such a port will pull -nofoo as a dependency. The difference is visible when we need to install -foo flavored package, but we already have the -nofoo one installed. Right now this is causing a conflict - we can't remove -nofoo and put -foo instead, because dependencies are hardcoded. Provides/requires allows -nofoo to be replaced with -foo, which solves the conflict and allows the build to continue. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.