aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSASAKI Katuhiro <crest@sahiro.org>2025-06-09 18:46:28 +0000
committerGleb Popov <arrowd@FreeBSD.org>2025-06-09 18:46:58 +0000
commitd2477ddba670dc7e1d78e11ad24f9ead2ad2e9f9 (patch)
tree1e3df178a9b169c050db0f4353eae8aa4c43ecfe
parent70bf4800d0f9a51a94b7ea8b0eaabe9ce6967f2d (diff)
graphics/ImageMagick6: Fix *-config tools
PR: 286088
-rw-r--r--graphics/ImageMagick6/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/ImageMagick6/Makefile b/graphics/ImageMagick6/Makefile
index 1b4f0af5c599..2009fad848b8 100644
--- a/graphics/ImageMagick6/Makefile
+++ b/graphics/ImageMagick6/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ImageMagick
DISTVERSION= 6.9.13-23
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics perl5
MASTER_SITES= https://ftp.acc.umu.se/mirror/imagemagick.org/ftp/releases/ \
@@ -322,6 +323,10 @@ post-patch:
${WRKSRC}/wand/Wand.pc.in \
${WRKSRC}/wand/MagickWand-config.in \
${WRKSRC}/wand/MagickWand.pc.in
+ @${REINPLACE_CMD} -e '/^export PKG_CONFIG_LIBDIR/d' \
+ ${WRKSRC}/magick/MagickCore-config.in \
+ ${WRKSRC}/wand/MagickWand-config.in \
+ ${WRKSRC}/Magick++/bin/Magick++-config.in
pre-configure:
.if defined(_IMAGEMAGICK_THREADS_PERL_MSG)