maintainer-feedback requested: [Bug 286088] graphics/ImageMagick6: Recent update of graphics/ImageMagick6 breaks MagickCore-config, MagickWand-config, Magick++-config

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Apr 2025 02:22:02 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 286088: graphics/ImageMagick6: Recent update of graphics/ImageMagick6
breaks MagickCore-config, MagickWand-config, Magick++-config
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286088



--- Description ---
MagickCore-config, MagickWand-config and Magick++-config in
ImageMagick6-6.9.13.23,1 return broken responses as below:
--
% MagickWand-config --cflags
Package MagickWand-6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand-6.pc'
to the PKG_CONFIG_PATH environment variable
Package 'MagickWand-6' not found
--
This is because of adding reference for PKG_CONFIG_PATH environment variable in
MagickWand-config.
I think we can work around this problem by removing PKG_CONFIG_PATH environment
variable.
This method is also used in graphics/ImageMagick7.