[Bug 269381] Mk/Uses/magick.mk does not support OPTIONS_UNSET+= X11 in make.conf when package Makefile has "USES = magick"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 30 Apr 2023 19:37:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269381

--- Comment #10 from fsbruva@yahoo.com ---
(In reply to lysfjord.daniel from comment #9)

The commit you referenced changed the ports tree so that ImageMagick no longer
has an X11 option to be set or unset. Therefore, the only way to have the ports
that USE magick pull in the correct dependency is to specify the FLAVOR of
ImageMagick that you want (i.e., DEFAULT_VERSION+= imagemagick=7-nox11).

I tested building both rubygem-mini_magick and rubygem-mini_magick410, and both
properly fulfill their dependency with ImageMagick7@nox11 when the desired
default version is set as above. 

I know your feelings on the matter, that UNSET_OPTIONS= X11 would be akin to
the undocumented "WITHOUT_X11=yes" variable. All I can say is that I am pretty
certain that making FLAVOR selection rely on a complicated hierarchy of
possible OPTIONS values ( WITH overrules _UNSET_FORCE overrules _SET) is
considered "will not fix" by tcberner.

-- 
You are receiving this mail because:
You are the assignee for the bug.