[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: Mon, 27 Feb 2023 17:09:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269381

--- Comment #4 from lysfjord.daniel@smokepit.net ---
(In reply to fsbruva from comment #3)

As imagemagick itself respects OPTIONS_UNSET+=X11 (and chooses the right
flavor), I somehow also expects USES=magick to do the same thing when pulled in
as a dependency.

After the implementation of USES=magick, I have to set *another* option
(DEFAULT_VERSIONS+= imagemagick=7-nox11) to avoid pulling in X-related
dependencies, when I already have asked for packages that can be compiled with
or without X to go without.

Is there any situation where you want the X version of (image|graphics)magick
when it is pulled in as a dependency, when you have OPTIONS_UNSET+=X11 in
make.conf?

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