Bug 286088 - graphics/ImageMagick6: Recent update of graphics/ImageMagick6 breaks MagickCore-config, MagickWand-config, Magick++-config
Summary: graphics/ImageMagick6: Recent update of graphics/ImageMagick6 breaks MagickCo...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-desktop (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-14 02:22 UTC by SASAKI Katuhiro
Modified: 2025-06-09 18:48 UTC (History)
1 user (show)

See Also:
arrowd: maintainer-feedback+


Attachments
Patch for Makefile (522 bytes, patch)
2025-04-14 02:22 UTC, SASAKI Katuhiro
no flags Details | Diff
Patch for (777 bytes, patch)
2025-06-09 04:40 UTC, SASAKI Katuhiro
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SASAKI Katuhiro 2025-04-14 02:22:02 UTC
Created attachment 259538 [details]
Patch for Makefile

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.
Comment 1 SASAKI Katuhiro 2025-06-09 04:31:01 UTC
What's the status of this matter?
Comment 2 SASAKI Katuhiro 2025-06-09 04:40:30 UTC
Created attachment 261106 [details]
Patch for

I've updated the patch and incremented the PORTREVISION.
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-06-09 18:47:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d2477ddba670dc7e1d78e11ad24f9ead2ad2e9f9

commit d2477ddba670dc7e1d78e11ad24f9ead2ad2e9f9
Author:     SASAKI Katuhiro <crest@sahiro.org>
AuthorDate: 2025-06-09 18:46:28 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-06-09 18:46:58 +0000

    graphics/ImageMagick6: Fix *-config tools

    PR:             286088

 graphics/ImageMagick6/Makefile | 5 +++++
 1 file changed, 5 insertions(+)
Comment 4 Gleb Popov freebsd_committer freebsd_triage 2025-06-09 18:48:44 UTC
Merged, thank you.